@Test
public void createsProxyObjectForInterface() throws Exception {

    ObjectValue jsonBook = createJsonBook(createJunitBook());
    IBook book = ObjectBuilder.createObject(IBook.class, jsonBook);
    assertEquals("Vincent Massol", book.getAuthor());
    assertEquals("JUnit in Action", book.getTitle());
    assertEquals(386, book.getPages());
    assertEquals(19.37, book.getPrice(), 0.01);
    assertEquals(93011099534534L, book.getIsdn());
    assertEquals(false, book.getAvailability());
    assertEquals(false, book.getDelivery());
}