@Test
public void localization_of_missing_resource() throws Exception
{
Resource r = new ClasspathResource(FOLDER + "/missing-resource.txt");
assertNull(r.forLocale(Locale.FRENCH));
}
private String content(Resource resource) throws Exception
{
return content(resource.toURL());