@Test
public void testGetName() throws Exception {

  List<ResourceConfig> resourceConfigs = getResourceConfigs();
  Assert.assertEquals(2, resourceConfigs.size());
  Assert.assertEquals("resource", resourceConfigs.get(0).getName());
  Assert.assertEquals("subresource", resourceConfigs.get(1).getName());
}