PermissionConfig { public String getDescription() { return description; }  String getName(); String getDescription();  }
@Test public void testGetDescription() throws Exception { List<PermissionConfig> permissions = getPremissionConfig(); Assert.assertEquals(1, permissions.size()); Assert.assertEquals("Access permission for a restricted view resource.", permissions.get(0).getDescription()); }