@Test
public void testCreateWithInvalidOptions() throws SQLException, TaskPrepareException, StorageException, InvalidArgumentException, ReadValueException {

    when(message.getOptions()).thenReturn(new DSObject("{ \"ordered\": 123 }"));
    try {
        task.prepare(null); // the message will be resolved by IOC
        fail();
    } catch (TaskPrepareException e) {
        // pass
    }
    verifyZeroInteractions(connection);
    verifyZeroInteractions(sqlStatement);
}