public void GoodModelWithoutHeaderId_ReturnsDefaultHeaderId() { // arrange int expected = 0; int headerId = 1; ListItemModel model = MakeModel(); // act RecentlyOrderedListDetail results = model.ToRecentlyOrderedDetailList(); // assert results.HeaderId .Should() .Be(expected); }
public void GoodModel_ReturnsExpectedEach() { // arrange bool expected = true; int headerId = 1; ListItemModel model = MakeModel(); // act RecentlyOrderedListDetail results = model.ToRecentlyOrderedDetailList(); // assert results.Each .Should() .Be(expected); }
public void GoodModel_ReturnsExpectedLineNumber() { // arrange int expected = 23; int headerId = 1; ListItemModel model = MakeModel(); // act RecentlyOrderedListDetail results = model.ToRecentlyOrderedDetailList(); // assert results.LineNumber .Should() .Be(expected); }
public void GoodModel_ReturnsExpectedCatalogId() { // arrange string expected = "FUT"; int headerId = 1; ListItemModel model = MakeModel(); // act RecentlyOrderedListDetail results = model.ToRecentlyOrderedDetailList(); // assert results.CatalogId .Should() .Be(expected); }