!7 p { S botName = "CPU Monitor Bot"; assertFalse("Please stop " + botName + " prior to using this test", hasBot(botName)); Class bot = run(#1001405); assertTrue("Bot not started", hasBot(botName)); for (O o : unnull((L) getOpt(bot, "record_list"))) print("record: " + getClassName(o)); cleanUp(bot); assertFalse("Bot not cleaned up", hasBot(botName)); print("Bot clean-up OK!"); }