public void Get_MapContainsConversion_ReturnsConversion() { var expected = new Mock <IConversion <int, string> >().Object; var underTest = new ConversionMap <int>(); underTest.Set(expected); var actual = underTest.Get <string>().Value; Assert.Equal(expected, actual); }
public void Get_MapDoesNotContainConversion_ReturnsNone() { var underTest = new ConversionMap <int>(); Assert.False(underTest.Get <string>().Exists); }