public void Equals_ShouldReturnFalse_WhenItIsComparedWithNullValue() { // Given var underTest = new CommandCallDescriptor("test-call", Enumerable.Empty <ICommandCallActualArgument>()); // When var result = underTest.Equals(null); // Then Assert.That(result, Is.False); }
public void Equals_ShouldReturnFalse_WhenItIsComparedWithNullValue() { // Given var underTest = new CommandCallDescriptor("test-call", Enumerable.Empty<ICommandCallActualArgument>()); // When var result = underTest.Equals(null); // Then Assert.That(result, Is.False); }
public void Equals_ShouldReturnTrue_WhenSameReferencesAreCompared() { // Given var underTest = new CommandCallDescriptor("test-call", Enumerable.Empty <ICommandCallActualArgument>()); // When var result = underTest.Equals(underTest); // Then Assert.That(result, Is.True); }
public void Equals_ShouldReturnTrue_WhenSameReferencesAreCompared() { // Given var underTest = new CommandCallDescriptor("test-call", Enumerable.Empty<ICommandCallActualArgument>()); // When var result = underTest.Equals(underTest); // Then Assert.That(result, Is.True); }