public void WhenRetrievingCategory_ThenReturnsValueFromResources() { // NOTE: if the LocalizableAttributes type is not found, please set // the 'Custom Tool Namespace' property for the LocalizableAttributes.resx // file to 'NetFx.System.ComponentModel'. var category = new CategoryResourceAttribute("Category", typeof(LocalizableAttributes)).Category; Assert.Equal("Category", category); }