public void ConvertFromDictWithDataTest(Dictionary <string, string> data, IList <string> target) { var par = new LegacyCustomParams(); par.FromDictionary(data); Assert.Equal(target, par.Items); }
public void When_Convert_From_Dict_Should_Return_The_Expected_Result(Dictionary <string, string> data, IList <string> target) { var par = new LegacyCustomParams(); par.FromDictionary(data); par.Items.Should().BeEquivalentTo(target); }