public void DoesNotThrowOnMissingResource() { ResourceSetMessageSource messageSource = new ResourceSetMessageSource(); messageSource.ResourceManagers.Add(new ResourceManager("do not exist", GetType().Assembly)); ResourceSetLocalizer localizer = new ResourceSetLocalizer(); localizer.ApplyResources(new Inventor(), messageSource, CultureInfo.InvariantCulture); }