public void ThenShouldSetSettingsToDictionary() { // Arrange // Act var format = new Format(); // Assert Assert.That(format.Settings, Is.TypeOf<Dictionary<string, string>>().And.Not.Null); }
public void TestFormatRegex() { const string Querystring = "format=gif"; const string Expected = "gif"; Format format = new Format(); format.MatchRegexIndex(Querystring); string actual = format.DynamicParameter; Assert.AreEqual(Expected, actual); }