Esempio n. 1
0
        public void FechaEntregaPrestamoIsbnMenorQue30Test()
        {
            // Arrange

            Libro libro = new LibroTestDataBuilder().ConIsbn(ISBN_NUMERICOS_MENOR_QUE_30).Build();

            repositorioLibro.Agregar(libro);
            Bibliotecario bibliotecario = new Bibliotecario(repositorioLibro, repositorioPrestamo);

            DateTime fechaPrestamo = new DateTime(2017, 5, 24);

            DateTime?fechaEntrega = bibliotecario.ObtenerFechaEntregaPrestamo(libro.Isbn, fechaPrestamo);

            // Assert
            Assert.AreEqual(null, fechaEntrega);
        }