" onStartupRunlevel='3'\n" +
" sequence='5'\n" +
" onFail='resource.configuration.pluginFailed'/>";
RunLevelActionSaxFactory factory = new RunLevelActionSaxFactory(this.glob);
RunLevelAction action = factory.readObject(xml);
for (int i=0; i < 2; i++) {
assertEquals(me + " checking do attribute", "LOAD", action.getDo());
assertEquals(me + " checking onFail attribute", "resource.configuration.pluginFailed", action.getOnFail().getErrorCode());
assertEquals(me + " checking onShutdownLevel attribute", -1, action.getOnShutdownRunlevel());