@Test
public void createEnvironmentVariablesTest() {

  when( teraDataBulkLoaderMetaMock.getTwbRoot() ).thenReturn( "twbrootvalue" );
  when( teraDataBulkLoaderMetaMock.getCopLibPath() ).thenReturn( "coplibpathvalue" );
  when( teraDataBulkLoaderMetaMock.getLibPath() ).thenReturn( "libpathvalue" );
  when( teraDataBulkLoaderMetaMock.getTbuildLibPath() ).thenReturn( "tbuildlibpathvalue" );
  when( teraDataBulkLoaderMetaMock.getTdicuLibPath() ).thenReturn( "tdiculibpathvalue" );
  String[] envVariables = teraDataBulkLoader.createEnvironmentVariables();
  String expectedVariables = "[TWB_ROOT=twbrootvalue, COPLIB=coplibpathvalue, COPERR=coplibpathvalue, "
    + "LD_LIBRARY_PATH=libpathvalue:tbuildlibpathvalue:tdiculibpathvalue:libpathvalue64:tbuildlibpathvalue64:tdiculibpathvalue64:]";
  assertEquals( expectedVariables, Arrays.toString( envVariables ) );
}