/// <summary>Determines whether the specified object is equal to the current object.</summary> /// <param name="other">The <see cref="IbanRegionDefinition"/> to compare with the current object. </param> /// <returns>true if the specified object is equal to the current object; otherwise, false.</returns> private bool Equals(IbanRegionDefinition other) { return(string.Equals(TwoLetterISORegionName, other.TwoLetterISORegionName) && Length == other.Length && string.Equals(Structure, other.Structure) && string.Equals(Example, other.Example)); }
public void When_definitions_are_loaded_should_contain(IbanRegionDefinition expectedDefinition) { _sut.Should().ContainValue(expectedDefinition); }