@Override public void callBeforeLog() {
    if ( parentLoggingObject != null ) {
      parentLoggingObject.callBeforeLog();
    }
  }
@Test
  public void testJobCallBeforeLog() {
    Job job = new Job();
    LoggingObjectInterface parentLoggingObject = mock( LoggingObjectInterface.class );
    setInternalState( job, "parentLoggingObject", parentLoggingObject );

    job.callBeforeLog();
    verify( parentLoggingObject, times( 1 ) ).callBeforeLog();
  }