JHtmlBehaviorTest::testCaption

Tests the caption method.