public void testOptions() throws Exception
{
XMLStringProvider provider = new XMLStringProvider(doc);
AxisServer server = new AxisServer(provider);
Handler h1 = server.getHandler(HANDLER_NAME);
assertNotNull("Couldn't get logger handler from engine!", h1);
Object optVal = h1.getOption(PARAM_NAME);
assertNotNull("Option value was null!", optVal);
assertEquals("Option was not expected value", optVal, PARAM_VAL);
optVal = server.getOption("someOptionWhichIsntSet");
assertNull("Got value for bad option!", optVal);
Handler h2 = server.getHandler("other");
assertNotNull("Couldn't get second handler", h2);
optVal = h1.getOption(PARAM_NAME);
assertNotNull("Option value was null for 2nd handler!", optVal);
assertEquals("Option was not expected value for 2nd handler",