Exemplo n.º 1
0
        public void Persists()
        {
            service.AddBook("QA123", "The Trial", "Kafka, Franz", "1927");

            service = new MasterClassificationService();
            AssertBook(service.Retrieve("QA123"), "QA123", "The Trial", "Kafka, Franz", "1927");
        }
Exemplo n.º 2
0
 public void AddBook()
 {
     service.AddBook("QA123", "The Trial", "Kafka, Franz", "1927");
     AssertBook(service.Retrieve("QA123"), "QA123", "The Trial", "Kafka, Franz", "1927");
 }