JArrayHelperTest::testInvert

Tests the JArrayHelper::invert method.