PermissionConfig { public String getName() { return name; }  String getName(); String getDescription();  }
@Test public void testGetName() throws Exception { List<PermissionConfig> permissions = getPremissionConfig(); Assert.assertEquals(1, permissions.size()); Assert.assertEquals("RESTRICTED", permissions.get(0).getName()); }