public void SutDoesNotEqualNullSut() { // Arrange var sut = new NoSpecimen(); NoSpecimen other = null; // Act var result = sut.Equals(other); // Assert Assert.False(result, "Equals"); }
public void SutDoesNotEqualNullSut() { // Fixture setup var sut = new NoSpecimen(); NoSpecimen other = null; // Exercise system var result = sut.Equals(other); // Verify outcome Assert.False(result, "Equals"); // Teardown }
public void SutDoesNotEqualAnonymousObject() { // Arrange var sut = new NoSpecimen(); var anonymousObject = new object(); // Act var result = sut.Equals(anonymousObject); // Assert Assert.False(result, "Equals"); }
public void SutEqualsOtherSutWhenBothRequestsAreNull() { // Arrange var sut = new NoSpecimen(); var other = new NoSpecimen(); // Act var result = sut.Equals(other); // Assert Assert.True(result, "Equals"); }
public void SutDoesNotEqualAnonymousObject() { // Fixture setup var sut = new NoSpecimen(); var anonymousObject = new object(); // Exercise system var result = sut.Equals(anonymousObject); // Verify outcome Assert.False(result, "Equals"); // Teardown }
public void SutDoesNotEqualOtherObjectWhenOtherRequestIsNull() { // Arrange #pragma warning disable 618 var sut = new NoSpecimen(new object()); #pragma warning restore 618 object other = new NoSpecimen(); // Act var result = sut.Equals(other); // Assert Assert.False(result, "Equals"); }
public void SutDoesNotEqualOtherSutWhenRequestsDiffer() { // Fixture setup var sut = new NoSpecimen(new object()); var other = new NoSpecimen(new object()); // Exercise system var result = sut.Equals(other); // Verify outcome Assert.False(result, "Equals"); // Teardown }
public void SutDoesNotEqualNullSut() { // Fixture setup var sut = new NoSpecimen(); NoSpecimen other = null; // Exercise system var result = sut.Equals(other); // Verify outcome Assert.False(result, "Equals"); // Teardown }
public void SutEqualsOtherSutWhenBothRequestsAreNull() { // Fixture setup var sut = new NoSpecimen(); var other = new NoSpecimen(); // Exercise system var result = sut.Equals(other); // Verify outcome Assert.True(result, "Equals"); // Teardown }
public void SutDoesNotEqualOtherSutWhenRequestsDiffer() { // Arrange #pragma warning disable 618 var sut = new NoSpecimen(new object()); var other = new NoSpecimen(new object()); #pragma warning restore 618 // Act var result = sut.Equals(other); // Assert Assert.False(result, "Equals"); }
public void SutEqualsOtherObjectWhenRequestsAreEqual() { // Fixture setup var request = new object(); var sut = new NoSpecimen(request); object other = new NoSpecimen(request); // Exercise system var result = sut.Equals(other); // Verify outcome Assert.True(result, "Equals"); // Teardown }
public void SutDoesNotEqualOtherObjectWhenRequestsDiffer() { // Fixture setup #pragma warning disable 618 var sut = new NoSpecimen(new object()); object other = new NoSpecimen(new object()); #pragma warning restore 618 // Exercise system var result = sut.Equals(other); // Verify outcome Assert.False(result, "Equals"); // Teardown }
public void SutEqualsOtherSutWhenRequestsAreEqual() { // Arrange var request = new object(); #pragma warning disable 618 var sut = new NoSpecimen(request); var other = new NoSpecimen(request); #pragma warning restore 618 // Act var result = sut.Equals(other); // Assert Assert.True(result, "Equals"); }
public void SutEqualsOtherSutWhenRequestsAreEqual() { // Fixture setup var request = new object(); #pragma warning disable 618 var sut = new NoSpecimen(request); var other = new NoSpecimen(request); #pragma warning restore 618 // Exercise system var result = sut.Equals(other); // Verify outcome Assert.True(result, "Equals"); // Teardown }
public void SutEqualsOtherSutWhenRequestsAreEqual() { // Fixture setup var request = new object(); #pragma warning disable 618 var sut = new NoSpecimen(request); var other = new NoSpecimen(request); #pragma warning restore 618 // Exercise system var result = sut.Equals(other); // Verify outcome Assert.True(result, "Equals"); // Teardown }
public void SutDoesNotEqualAnonymousObject() { // Fixture setup var sut = new NoSpecimen(); var anonymousObject = new object(); // Exercise system var result = sut.Equals(anonymousObject); // Verify outcome Assert.False(result, "Equals"); // Teardown }
public void SutEqualsOtherSutWhenBothRequestsAreNull() { // Fixture setup var sut = new NoSpecimen(); var other = new NoSpecimen(); // Exercise system var result = sut.Equals(other); // Verify outcome Assert.True(result, "Equals"); // Teardown }
public void SutDoesNotEqualOtherSutWhenRequestsDiffer() { // Fixture setup #pragma warning disable 618 var sut = new NoSpecimen(new object()); var other = new NoSpecimen(new object()); #pragma warning restore 618 // Exercise system var result = sut.Equals(other); // Verify outcome Assert.False(result, "Equals"); // Teardown }
public void SutDoesNotEqualOtherObjectWhenSutRequestIsNull() { // Fixture setup var sut = new NoSpecimen(); object other = new NoSpecimen(new object()); // Exercise system var result = sut.Equals(other); // Verify outcome Assert.False(result, "Equals"); // Teardown }
public void SutEqualsOtherObjectWhenRequestsAreEqual() { // Fixture setup var request = new object(); var sut = new NoSpecimen(request); object other = new NoSpecimen(request); // Exercise system var result = sut.Equals(other); // Verify outcome Assert.True(result, "Equals"); // Teardown }