@Test
public void createCommandLineTest() {

  setInternalState( teraDataBulkLoader, "tempScriptFile", "scriptValue" );
  when( teraDataBulkLoaderMetaMock.getTbuildPath() ).thenReturn( "buildpathvalue" );
  when( teraDataBulkLoaderMetaMock.getVariableFile() ).thenReturn( "variablefilevalue" );
  when( teraDataBulkLoaderMetaMock.getJobName() ).thenReturn( "jobnamevalue" );
  try {
    String commandLine = teraDataBulkLoader.createCommandLine();
    String expected = "buildpathvalue -f scriptValue -v variablefilevalue jobnamevalue";
    assertTrue( commandLine.contains( expected ) );
  } catch ( KettleException e ) {
    fail( e.getMessage() );
  }
}