@Override
  public String getLogChannelId() {
    return log.getLogChannelId();
  }
@Ignore
  @Test
  public void testLoggingObjectIsNotLeakInTrans() throws Exception {
    Repository rep = mock( Repository.class );
    RepositoryDirectoryInterface repInt = Mockito.mock( RepositoryDirectoryInterface.class );
    when(
      rep.loadTransformation( anyString(), any( RepositoryDirectoryInterface.class ),
        nullable( ProgressMonitorListener.class ), anyBoolean(), nullable( String.class ) ) ).thenReturn( meta );
    when( rep.findDirectory( anyString() ) ).thenReturn( repInt );

    Trans trans = new Trans( meta, rep, "junit", "junitDir", "fileName" );
    assertEquals( "Log channel General assigned", LogChannel.GENERAL.getLogChannelId(), trans.log
      .getLogChannelId() );
  }