@Test
public void testSearchWithNullAttrsInObjectName() throws Exception {
QueryLister lister = new QueryLister(mBeanServerRegistry,
new QueryDef("test", "test:*", "name").with(QueryDef.NO_NULL_ATTRS));
makeTestJmx("test:name=oja", 10, 10);
List<QueryResult> results = lister.list();
Assert.assertEquals(1, results.size());