@Test
public void lineEndingWorksOk() throws Exception {

	assertThat(dbDeploy.getLineEnding(), is(LineEnding.platform));
	parser.parse("--lineending cr".split(" "), dbDeploy);
	assertThat(dbDeploy.getLineEnding(), is(LineEnding.cr));
	parser.parse("--lineending crlf".split(" "), dbDeploy);
	assertThat(dbDeploy.getLineEnding(), is(LineEnding.crlf));
	parser.parse("--lineending lf".split(" "), dbDeploy);
	assertThat(dbDeploy.getLineEnding(), is(LineEnding.lf));
	parser.parse("--lineending platform".split(" "), dbDeploy);
	assertThat(dbDeploy.getLineEnding(), is(LineEnding.platform));
}