public void Can_Perform_Exists_On_UserGroupRepository() { // Arrange IScopeProvider provider = ScopeProvider; using (provider.CreateScope()) { UserGroupRepository repository = CreateRepository(provider); IUserGroup[] userGroups = CreateAndCommitMultipleUserGroups(repository); // Act bool exists = repository.Exists(userGroups[0].Id); // Assert Assert.That(exists, Is.True); } }