@Test
public void createEnvironmentVariablesWithEnvVarTest() {

  teraDataBulkLoader.setVariable( "TwbRoot", "twbrootvalue" );
  teraDataBulkLoader.setVariable( "CopLibPath", "coplibpathvalue" );
  teraDataBulkLoader.setVariable( "LibPath", "libpathvalue" );
  teraDataBulkLoader.setVariable( "TbuildLibPath", "tbuildlibpathvalue" );
  teraDataBulkLoader.setVariable( "TdicuLibPath", "tdiculibpathvalue" );
  when( teraDataBulkLoaderMetaMock.getTwbRoot() ).thenReturn( "${TwbRoot}" );
  when( teraDataBulkLoaderMetaMock.getCopLibPath() ).thenReturn( "${CopLibPath}" );
  when( teraDataBulkLoaderMetaMock.getLibPath() ).thenReturn( "${LibPath}" );
  when( teraDataBulkLoaderMetaMock.getTbuildLibPath() ).thenReturn( "${TbuildLibPath}" );
  when( teraDataBulkLoaderMetaMock.getTdicuLibPath() ).thenReturn( "${TdicuLibPath}" );
  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 ) );
}