public void And_ALE_Not_Found_Then_Throws_Exception(
            long accountLegalEntityId,
            [Frozen] Mock <IReservationsDataContext> mockDataContext,
            AccountLegalEntityRepository repository)
        {
            mockDataContext
            .Setup(context => context.AccountLegalEntities)
            .ReturnsDbSet(new List <AccountLegalEntity>());

            var act = new Func <Task>(async() => await repository.Get(accountLegalEntityId));

            act.Should().Throw <EntityNotFoundException <AccountLegalEntity> >()
            .WithInnerException <InvalidOperationException>();
        }
        public void Arrange()
        {
            _legalEntities = new List <AccountLegalEntity>
            {
                new AccountLegalEntity
                {
                    Id        = Guid.NewGuid(),
                    AccountId = 1,
                    AccountLegalEntityName = "Test",
                    AgreementSigned        = true
                },
                new AccountLegalEntity
                {
                    Id        = Guid.NewGuid(),
                    AccountId = 1,
                    AccountLegalEntityName = "Test 1",
                    AgreementSigned        = true
                },
                new AccountLegalEntity
                {
                    Id        = Guid.NewGuid(),
                    AccountId = 1,
                    AccountLegalEntityName = "Test 3",
                    AgreementSigned        = false
                },
                new AccountLegalEntity
                {
                    Id        = Guid.NewGuid(),
                    AccountId = 2,
                    AccountLegalEntityName = "Test 2",
                    AgreementSigned        = true
                }
            };

            _reservationsDataContext = new Mock <IReservationsDataContext>();
            _reservationsDataContext.Setup(x => x.AccountLegalEntities).ReturnsDbSet(_legalEntities);

            _legalEntityRepository = new AccountLegalEntityRepository(_reservationsDataContext.Object);
        }