private GetString_Basic ( string key, string expectedValue ) : void | ||
key | string | |
expectedValue | string | |
return | void |
public static void GetString_Basic(string key, string expectedValue)
{
ResourceManager resourceManager = new ResourceManager("System.Resources.Tests.Resources.TestResx", typeof(ResourceManagerTests).GetTypeInfo().Assembly);
string actual = resourceManager.GetString(key);
Assert.Equal(expectedValue, actual);
}