@Test
public void createsEnum() throws Exception {

    StringValue enumName = new StringValue(JUNIT_IN_ACTION.name());
    BookEnum book = ObjectBuilder.createObject(BookEnum.class, enumName);
    assertEquals(JUNIT_IN_ACTION, book);
}