Package com.tumivn.sample.business.entities

Examples of com.tumivn.sample.business.entities.Book


    @Test
    @Rollback(true)
    public void testCanAddBook(){

        Book book = new Book();
        book.setTitle("The lord of the rings");
        book.setAuthor("No name");
        book.setDescription("Description");

        bookRepository.add(book);

        List<Book> books = bookRepository.list();
        assertEquals(3, books.size());
View Full Code Here

TOP

Related Classes of com.tumivn.sample.business.entities.Book

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.