EntityConfig { public String getClassName() { return className; }  String getClassName(); String getIdProperty();  }
@Test public void testGetClassName() throws Exception { List<EntityConfig> entities = getEntityConfigs(); Assert.assertEquals(2, entities.size()); Assert.assertEquals("org.apache.ambari.server.view.TestEntity1", entities.get(0).getClassName()); Assert.assertEquals("org.apache.ambari.server.view.TestEntity2", entities.get(1).getClassName()); }