@Test
public void getDataConnectorTest() {

  when( teraDataBulkLoaderMetaMock.getSchemaName() ).thenReturn( "schemaName" );
  when( teraDataBulkLoaderMetaMock.getAccessLogFile() ).thenReturn( "accessLog" );
  when( teraDataBulkLoaderMetaMock.getFifoFileName() ).thenReturn( "fifoFileName" );
  setInternalState( teraDataBulkLoaderRoutines, "parent", null );
  String expectedDataConnector = "DEFINE OPERATOR ACCESS_MODULE_READER\n"
    + "TYPE DATACONNECTOR PRODUCER\n"
    + "SCHEMA schemaName\n"
    + "ATTRIBUTES\n"
    + "  (\n"
    + "     VARCHAR PrivateLogName = 'accessLog',\n"
    + "     VARCHAR AccessModuleName = 'np_axsmod.so',\n"
    + "     VARCHAR FileName = 'fifoFileName',\n"
    + "     VARCHAR Format = 'Unformatted',\n"
    + "     VARCHAR OpenMode = 'Read'\n"
    + "  );\n";
  assertEquals( expectedDataConnector, teraDataBulkLoaderRoutines.getDataConnector( true ).toString() );
}