public void Genre_FindsGenreInDatabase()
 {
     //Arrange
       Genre expectedResult = new Genre("Literature");
       expectedResult.Save();
       //Act
       Genre result = Genre.Find(expectedResult.GetId());
       //Assert
       Assert.Equal(expectedResult, result);
 }
        public void Genre_GetBooks_GetsAllBookInGenre()
        {
            Genre firstGenre = new Genre("Sci-Fi");
              firstGenre.Save();
              Book firstBook = new Book("Cats", testDate, 2);
              firstBook.Save();
              Book secondBook = new Book("Crime & Punishment", testDate, firstGenre.GetId());
              secondBook.Save();

              List<Book> expectedResult = new List<Book> {secondBook};
              List<Book> actualResult = firstGenre.GetBooks();

              Assert.Equal(expectedResult, actualResult);
        }