public void Can_Delete_A_StoreSetting() { //// Arrange var setting = _settingsService.CreateStoreSettingWithKey("Testing", "Rusty", typeof(string).FullName); var key = setting.Key; //// Act _settingsService.Delete(setting); var retrieved = _settingsService.GetByKey(key); //// Assert Assert.IsNull(retrieved); }