@Test
public void testGetSubResourceDefinitions() throws Exception {

  final UserResourceDefinition userResourceDefinition = new UserResourceDefinition();
  Set<SubResourceDefinition> subResourceDefinitions = userResourceDefinition.getSubResourceDefinitions();
  Assert.assertEquals(2, subResourceDefinitions.size());
}