@Test
public void shouldDelegateToCreateWithGivenPackageContext() throws Exception {

    String packageContext = "packageContext";
    when(mockCRestConfig.get(getClass().getName() + JaxbFactory.MODEL_PACKAGE)).thenReturn(packageContext);
    mockStatic(JAXBContext.class);
    when(JAXBContext.newInstance(packageContext)).thenReturn(mockJaxbContext);
    Jaxb actual = JaxbFactory.create(mockCRestConfig, getClass());
    assertTrue(actual instanceof SimpleJaxb);
}