public void Should_Return_ParsedValue_When_Passed_Model() { //Arrange var fixture = new Fixture(); var model = fixture.Create <DataModel>(); //Act var result = _sut.Parse(model); //Assert Assert.NotNull(result); Assert.Equal($"{model.Order}:{model.Key}:{model.Value}", result); }
public string Parse(DataModel dataModel) => $"{nameof(DataModel)}: [{customParser.Parse(dataModel)}]";