public void BadCustomerId_ReturnsNull()
            {
                // arrange
                IContractListLogic  logic = MakeMockLogic();
                UserSelectedContext test  = new UserSelectedContext {
                    BranchId   = "FUT",
                    CustomerId = "999999"
                };
                UserProfile fakeUser = new UserProfile();
                int         fakeId   = 1;

                // act
                ListModel results = logic.GetListModel(fakeUser, test, fakeId);

                // assert
                results.Should()
                .BeNull();
            }
            public void GoodCustomer_ReturnsExpectedHeaderId()
            {
                // arrange
                int                 expected = 1;
                UserProfile         fakeUser = new UserProfile();
                int                 fakeId   = 1;
                IContractListLogic  logic    = MakeMockLogic();
                UserSelectedContext test     = new UserSelectedContext {
                    BranchId   = "FUT",
                    CustomerId = "123456"
                };

                // act
                ListModel results = logic.GetListModel(fakeUser, test, fakeId);

                // assert
                results
                .ListId
                .Should()
                .Be(expected);
            }
            public void ContractWithNoItems_ReturnsZeroLengthItemList()
            {
                // arrange
                int                 expected = 0;
                UserProfile         fakeUser = new UserProfile();
                int                 fakeId   = 1;
                IContractListLogic  logic    = MakeMockLogic();
                UserSelectedContext test     = new UserSelectedContext {
                    BranchId   = "FUT",
                    CustomerId = "234567"
                };

                // act
                ListModel results = logic.GetListModel(fakeUser, test, fakeId);

                // assert
                results
                .Items
                .Count
                .Should()
                .Be(expected);
            }