Пример #1
0
            public void GoodModel_ReturnsExpectedLineNumber()
            {
                // arrange
                int           expected = 23;
                int           headerId = 1;
                ListItemModel model    = MakeModel();

                // act
                ReminderItemsListDetail results = model.ToReminderItemsListDetail(headerId);

                // assert
                results.LineNumber
                .Should()
                .Be(expected);
            }
Пример #2
0
            public void GoodModel_ReturnsExpectedEach()
            {
                // arrange
                bool          expected = true;
                int           headerId = 1;
                ListItemModel model    = MakeModel();

                // act
                ReminderItemsListDetail results = model.ToReminderItemsListDetail(headerId);

                // assert
                results.Each
                .Should()
                .Be(expected);
            }
Пример #3
0
            public void GoodModel_ReturnsExpectedItemNumber()
            {
                // arrange
                string        expected = "123456";
                int           headerId = 1;
                ListItemModel model    = MakeModel();

                // act
                ReminderItemsListDetail results = model.ToReminderItemsListDetail(headerId);

                // assert
                results.ItemNumber
                .Should()
                .Be(expected);
            }
Пример #4
0
            public void GoodModel_ReturnsExpectedCatalogId()
            {
                // arrange
                string        expected = "FUT";
                int           headerId = 1;
                ListItemModel model    = MakeModel();

                // act
                ReminderItemsListDetail results = model.ToReminderItemsListDetail(headerId);

                // assert
                results.CatalogId
                .Should()
                .Be(expected);
            }