public void GoodModel_ReturnsExpectedPar() { // arrange decimal expected = 9.76m; int headerId = 1; ListItemModel model = MakeModel(); // act CustomListDetail results = model.ToCustomListDetail(headerId); // assert results.Par .Should() .Be(expected); }
public void GoodModel_ReturnsExpectedLineNumber() { // arrange int expected = 23; int headerId = 1; ListItemModel model = MakeModel(); // act CustomListDetail results = model.ToCustomListDetail(headerId); // assert results.LineNumber .Should() .Be(expected); }
public void GoodModel_ReturnsExpectedEach() { // arrange bool expected = true; int headerId = 1; ListItemModel model = MakeModel(); // act CustomListDetail results = model.ToCustomListDetail(headerId); // assert results.Each .Should() .Be(expected); }
public void GoodModel_ReturnsExpectedLabel() { // arrange string expected = "Fake Label"; int headerId = 1; ListItemModel model = MakeModel(); // act CustomListDetail results = model.ToCustomListDetail(headerId); // assert results.Label .Should() .Be(expected); }
public void GoodModel_ReturnsExpectedCustomInventoryItemId() { // arrange int expected = 1900; int headerId = 1; ListItemModel model = MakeModel(); // act CustomListDetail results = model.ToCustomListDetail(headerId); // assert results.CustomInventoryItemId .Should() .Be(expected); }