@Test public void testGetPluralName() throws Exception { List<ResourceConfig> resourceConfigs = getResourceConfigs(); Assert.assertEquals(2, resourceConfigs.size()); Assert.assertEquals("resources", resourceConfigs.get(0).getPluralName()); Assert.assertEquals("subresources", resourceConfigs.get(1).getPluralName()); }
public String getPluralName() { return pluralName; }
ResourceConfig { public String getPluralName() { return pluralName; } }
ResourceConfig { public String getPluralName() { return pluralName; }  }
ResourceConfig { public String getPluralName() { return pluralName; }  String getName(); String getPluralName(); String getIdProperty(); List<String> getSubResourceNames(); String getProvider(); String getService(); String getResource(); Class<? extends ResourceProvider> getProviderClass(ClassLoader cl); Class<?> getServiceClass(ClassLoader cl); Class<?> getResourceClass(ClassLoader cl); boolean isExternal(); }
ResourceConfig { public String getPluralName() { return pluralName; }  String getName(); String getPluralName(); String getIdProperty(); List<String> getSubResourceNames(); String getProvider(); String getService(); String getResource(); Class<? extends ResourceProvider> getProviderClass(ClassLoader cl); Class<?> getServiceClass(ClassLoader cl); Class<?> getResourceClass(ClassLoader cl); boolean isExternal(); static final String EXTERNAL_RESOURCE_PLURAL_NAME; }