public class SqlServerDbEnvironmentUnitTests {
@Test
public void buildInsertCommand_AllInputParameters() throws Exception {
dbfit.environment.SqlServerEnvironment env = new SqlServerEnvironment("SqlServer");
String expectedResult = "insert into DummyTable([Column1],[Column Two],[ColumnThree]) values (?,?,?)";
DbParameterAccessor[] parameters = new DbParameterAccessor[3];
parameters[0] = new DbParameterAccessor("Column1", Direction.INPUT, 0, null, 0);
parameters[1] = new DbParameterAccessor("Column Two", Direction.INPUT, 0, null, 1);
parameters[2] = new DbParameterAccessor("ColumnThree", Direction.INPUT, 0, null, 2);
String actualResult = env.buildInsertCommand("DummyTable", parameters);
assertEquals(expectedResult, actualResult);
}