### Question:
ViewPermissionResourceDefinition extends BaseResourceDefinition { @Override public Set<SubResourceDefinition> getSubResourceDefinitions() { return Collections.emptySet(); } ViewPermissionResourceDefinition(); @Override String getPluralName(); @Override String getSingularName(); @Override Set<SubResourceDefinition> getSubResourceDefinitions();  }### Answer:
@Test public void testGetSubResourceDefinitions() throws Exception { ViewPermissionResourceDefinition ViewPermissionResourceDefinition = new ViewPermissionResourceDefinition(); Set<SubResourceDefinition> subResourceDefinitions = ViewPermissionResourceDefinition.getSubResourceDefinitions (); Assert.assertTrue(subResourceDefinitions.isEmpty()); }