public void DefaultConstructorTest() { string category = "AssemblyName"; CategoryAttribute target = VisualStudio_Project_Samples_ResourcesCategoryAttributeAccessor.CreatePrivate(category); Assert.IsNotNull(target, "CategoryAttribute instance was not created successfully."); }
public void GetLocalizedStringTest() { string category = "AssemblyName"; CategoryAttribute target = VisualStudio_Project_Samples_ResourcesCategoryAttributeAccessor.CreatePrivate(category); VisualStudio_Project_Samples_ResourcesCategoryAttributeAccessor accessor = new VisualStudio_Project_Samples_ResourcesCategoryAttributeAccessor(target); string actual = accessor.GetLocalizedString(category); Assert.IsNotNull(actual, String.Format("GetLocalizedString() for {0} category was uninitialized.", category)); }