public void ThenTheSpecialOwnersExist() { var ids = _specialOwners.Select(x => x.Id.Value); bool actual = _sut.Exists(ids); Assert.IsTrue(actual); }
public void ThenTheResultIsFalse() { var ids = _specialOwners.Select(x => x.Id.Value).ToList(); // Add range of non existing items. ids.AddRange(new[] { -1L, -1L, -2L, -3L }); bool actual = _sut.Exists(ids); Assert.IsFalse(actual); }
public void ThenTheSpecialOwnerExists() { bool actual = _sut.Exists(_specialOwner.Id.Value); Assert.IsTrue(actual); }
public void ThenTheSpecialOwnerIsDeleted() { _sut.Delete(_specialOwner.Id.Value); Assert.IsFalse(_sut.Exists(_specialOwner.Id.Value)); }