forceCacheClear();
Resource resource = simpleComponentResource.forFile("NoSuchAppCatalog.properties");
List<Resource> resources = Arrays.asList(resource);
ComponentMessagesSource source = new ComponentMessagesSourceImpl(true, resources,
new PropertiesFileParserImpl(), resourceLocator, converter);
Messages messages = source.getMessages(model, Locale.ENGLISH);
assertEquals(messages.get("color"), "color");
assertEquals(messages.get("app-catalog-source"), "[[missing key: app-catalog-source]]");
assertEquals(messages.get("app-catalog-overridden"), "Overridden by Component");