public void TestName() { // Arrange var item = new UriAssertion(); // Act & Assert Assert.AreEqual("Uri", item.Name); }
private bool TestAssert(string expected, string actual) { // Arrange var item = new UriAssertion { Value = expected }; var arrange = new Arrange { HttpResponse = new HttpResponse { Uri = new Uri(actual) }, }; // Act item.Assert(null, arrange); return item.Success; }