public void InequalityIsRecognized(ExponentialRetry first, ExponentialRetry second, string description) { if (first != null) { Assert.That(first.Equals(second), Is.False, $"The method call should recognize the following as false: [{ description }]"); } Assert.That((first == second), Is.False, $"The equality operator should recognize the following as false: [{ description }]"); Assert.That((first != second), Is.True, $"The inequality operator should recognize the following as true: [{ description }]"); }