public void SutDoesNotEqualAnonymousObject()
 {
     // Fixture setup
     var sut = new RegularExpressionRequest("[0-9]");
     object anonymousObject = new FileStyleUriParser();
     // Exercise system
     var result = sut.Equals(anonymousObject);
     // Verify outcome
     Assert.False(result);
     // Teardown
 }
 public void SutDoesNotEqualAnonymousObject()
 {
     // Fixture setup
     var sut = new MultipleRequest(new object());
     object anonymousObject = new FileStyleUriParser();
     // Exercise system
     var result = sut.Equals(anonymousObject);
     // Verify outcome
     Assert.False(result, "Equals");
     // Teardown
 }
		public void Deny_Unrestricted ()
		{
			FileStyleUriParser parser = new FileStyleUriParser ();
		}
 public void SutDoesNotEqualAnonymousObject()
 {
     // Fixture setup
     var sut = new RangedNumberRequest(typeof(int), 1, 3);
     object anonymousObject = new FileStyleUriParser();
     // Exercise system
     var result = sut.Equals(anonymousObject);
     // Verify outcome
     Assert.False(result, "Equals");
     // Teardown
 }
Exemple #5
0
 public void SutDoesNotEqualAnonymousObject()
 {
     // Fixture setup
     var sut = new Seed(typeof(object), "Anonymous value");
     object anonymousObject = new FileStyleUriParser();
     // Exercise system
     var result = sut.Equals(anonymousObject);
     // Verify outcome
     Assert.IsFalse(result, "Equals");
     // Teardown
 }