public static void assertEndOfOutputExpectedToContain(String endMarker,String expectedString,File log){
  String r=readLogfile(log);
  int idx=r.indexOf(endMarker);
  if (idx == -1)   fail("Log did not contain endmarker'" + endMarker + "' expected '"+ expectedString+ "' not found.");
  String x=r.substring(idx);
  assertExpectedOutputContains(expectedString,x);
}

public static void assertEndOfOutputExpectedToContain ( String endMarker , String expectedString , File log ) { String r = readLogfile ( log ) ; int idx = r . indexOf ( endMarker ) ; if ( idx == - 1 ) fail ( "Log did not contain endmarker'" + endMarker + "' expected '" + expectedString + "' not found." ) ; String x = r . substring ( idx ) ; assertExpectedOutputContains ( expectedString , x ) ; }
scans output starting from endmarker
