JErrorTest::testRaiseWarning

Test JError::raiseWarning