Пример #1
0
        public void Contains_DeletedData_ReturnsFalse()
        {
            _inMemDataStore.Save("test", new byte[] { 1, 2, 3 });

            _inMemDataStore.Delete("test");

            Assert.That(_inMemDataStore.Contains("test"), Is.False);
        }
Пример #2
0
        public void Delete_UnknownId_ReturnsFalse()
        {
            var result = _inMemDataStore.Delete("test");

            Assert.That(result, Is.False);
        }
Пример #3
0
 public async Task Delete(string id) => _dataStore.Delete(id);