public void EqualsDoesNotMatchesRequestWithDifferentIdentifier() { ServerRequest request1 = new ServerRequest(); ServerRequest request2 = new ServerRequest(); Assert.IsFalse(request1.Equals(request2)); }
public void EqualsDoesNotMatchDifferentTypes() { var request = new ServerRequest(); var different = new object(); Assert.IsFalse(request.Equals(different)); }
public void EqualsMatchesRequestWithTheSameIdentifier() { ServerRequest request1 = new ServerRequest(); ServerRequest request2 = new ServerRequest(); request1.Identifier = request2.Identifier; Assert.IsTrue(request1.Equals(request2)); }