@Test public void testTransformCursorToBookBorrowing() throws Exception {

    Cursor cursor = prepareMockCursor();
    List<BookBorrowing> bookBorrowings
            = this.bookBorrowingContentProviderMapper.transform(cursor);
    assertThat(bookBorrowings.size(), is(1));
    BookBorrowing transformedBookBorrowing = bookBorrowings.get(0);
    assertThat(transformedBookBorrowing, equalTo(this.testBookBorrowing));
}