JAdapterTest::testSetAdapter

Tests the JAdapter::setAdapter method.