public void DeleteAllBooks_DeletesAllBooks() { var preDeleteCount = TestData.Books.Count(); _repository.DeleteAllBooks(); var postDeleteCount = GetAllCount(); Assert.True(preDeleteCount > postDeleteCount); Assert.Equal(0, postDeleteCount); }