Lines Matching refs:TestUtil
29 booksDao.addAuthors(TestUtil.AUTHOR_1)
30 booksDao.addPublishers(TestUtil.PUBLISHER)
31 booksDao.addBooks(TestUtil.BOOK_1)
33 booksDao.getBookFlowable(TestUtil.BOOK_1.bookId)
35 .assertValue { book -> book == TestUtil.BOOK_1 }
40 booksDao.addAuthors(TestUtil.AUTHOR_1)
41 booksDao.addPublishers(TestUtil.PUBLISHER)
42 booksDao.addBooks(TestUtil.BOOK_1)
44 booksDao.getBookSingle(TestUtil.BOOK_1.bookId)
47 .assertValue { book -> book == TestUtil.BOOK_1 }
59 booksDao.addAuthors(TestUtil.AUTHOR_1)
60 booksDao.addPublishers(TestUtil.PUBLISHER)
61 booksDao.addBooks(TestUtil.BOOK_1)
63 booksDao.getBookMaybe(TestUtil.BOOK_1.bookId)
66 .assertValue { book -> book == TestUtil.BOOK_1 }
80 booksDao.addAuthors(TestUtil.AUTHOR_1)
81 booksDao.addPublishers(TestUtil.PUBLISHER)
82 booksDao.addBooks(TestUtil.BOOK_1)
84 var expected = BookWithPublisher(TestUtil.BOOK_1.bookId, TestUtil.BOOK_1.title,
85 TestUtil.PUBLISHER)
96 booksDao.addAuthors(TestUtil.AUTHOR_1)
97 booksDao.addPublishers(TestUtil.PUBLISHER)
98 booksDao.addBooks(TestUtil.BOOK_1, TestUtil.BOOK_2)
100 booksDao.getPublisherWithBooksFlowable(TestUtil.PUBLISHER.publisherId)
103 it.publisher == TestUtil.PUBLISHER
105 && it.books?.get(0) == TestUtil.BOOK_1
106 && it.books?.get(1) == TestUtil.BOOK_2