@Test
public void itReturnsAMigrationSchemaCommand() throws Exception {
final Runnable runnable = parse("schema", "-c", "src/test/resources/hsql-memory.properties", "--migration");
assertThat(runnable, is(SchemaCommand.class));
final SchemaCommand cmd = (SchemaCommand) runnable;
assertThat(cmd.getOutputStream(), is(sameInstance((OutputStream) System.out)));
assertThat(cmd.getConfiguration(), is(sameInstance(config)));
assertThat(cmd.isMigration(), is(true));
assertThat(cmd.getProperties().getProperty(Environment.URL), is("jdbc:hsqldb:mem:ShoreTest"));
}