public void Clear_Should_Clear_The_Collection() { var mappings = new ValueMappingCollection(); mappings.Add(1, "one"); mappings.TryMap(1, typeof(string), out var destinationValue).Should().BeTrue(); destinationValue.Should().Be("one"); mappings.Clear(); mappings.TryMap(1, typeof(string), out destinationValue).Should().BeFalse(); }