public void FindCustomers_TenantFilteringDisabled() { // assemble TenantContext.SetTenantToMaster(); var firstTenantCustomer = CustomerTestHelper.CreateAnonymousCustomer(); var secondTenantCustomer = CustomerTestHelper.CreateAnonymousCustomer(); // act List <CustomerViewModel> customers = DomainFacade.FindCustomers(); // assert customers.Should().NotBeEmpty().And.HaveCount(2); customers.Should().Contain(x => x.Name.Equals(firstTenantCustomer.Name)); customers.Should().Contain(x => x.Name.Equals(secondTenantCustomer.Name)); }