### Question:
Library { public Collection<Book> getFirstAvailableBooks(final String keyword) { return new GetFirstAvailableBooks(emf, keyword).transact(); }  static final Library library(); synchronized Library init(KieContext kcontext); Collection<Book> getFirstAvailableBooks(final String keyword); Loan attemptLoan(String isbn, long loanId); boolean returnLoan(Loan loan);  }### Answer:
@Test public void whenGetFirstAvailableHGWellsBookIsOk() { final Collection<Book> books = LIBRARY.getFirstAvailableBooks("Time Machine"); assertThat(books, is(not(emptyCollectionOf(Book.class)))); }