@Override public void callAfterLog() {
    if ( parent != null ) {
      parent.callAfterLog();
    }
    this.logDate = new Date();
  }
@Test
  public void testJobCallAfterLog() {
    Trans trans = new Trans();
    LoggingObjectInterface parent = mock( LoggingObjectInterface.class );
    setInternalState( trans, "parent", parent );

    trans.callAfterLog();
    verify( parent, times( 1 ) ).callAfterLog();
  }