@Test
public void testGetSubResourceDefinitions() throws Exception {

  Resource.Type type = new Resource.Type("resource");
  ViewExternalSubResourceDefinition definition = new ViewExternalSubResourceDefinition(type);
  Assert.assertEquals(Collections.emptySet(), definition.getSubResourceDefinitions());
}