class InMemoryDBCreateCollectionTask implements IDatabaseTask {

    @Override
    public void prepare(final IObject query) throws TaskPrepareException {
        try {
            this.collectionName = (String) query.getValue(collectionNameField);
        } catch (ReadValueException | InvalidArgumentException e) {
            throw new TaskPrepareException("Failed to resolve get \"collectionName\" from query", e);
        }
    }

    public  InMemoryDBCreateCollectionTask();

}