### Question:
GenericResourceProvider implements ResourceProvider { @Override public OptionalString get(String name, Locale locale) { return get(name, in(locale)); } GenericResourceProvider(Resources resources, ResourceKey resourceKey, ResourceKey... defaultKeys); @Override OptionalString get(String name, Locale locale); @Override ResourceObject contentOf(String name, Locale locale); @Override OptionalString get(String name, ResourceResolutionContext context); @Override ResourceObject contentOf(String name, ResourceResolutionContext context);  }### Answer:
@Test public void testGetValue() throws Exception { String id = "test"; String someValue = "test value"; ResourceKey valueKey = PROVIDER_SCOPE.child(id); givenExists(valueKey, in(Locale.US), someValue); ResourceProvider provider = resources().forKey(PROVIDER_SCOPE); assertEquals(someValue, provider.get(id, in(Locale.US)).asIs()); }