@Test
public void simpleNotFound() throws MalformedObjectNameException {

    for (String name : new String[]{
            "jboss.system:type=Server",
            "jboss.as:*",
            "jboss.modules:*"
    }) {
        expect(server.queryNames(new ObjectName(name), null)).andReturn(Collections.<ObjectName>emptySet()).anyTimes();
    }
    replay(server);
    assertNull(detector.detect(servers));
    verify(server);
}