private GetString_FromResourceType ( string key, string expectedValue ) : void | ||
key | string | |
expectedValue | string | |
return | void |
public static void GetString_FromResourceType(string key, string expectedValue)
{
Type resourceType = typeof(Resources.TestResx);
ResourceManager resourceManager = new ResourceManager(resourceType);
string actual = resourceManager.GetString(key);
Assert.Equal(expectedValue, actual);
}
}