question: public static void assertExpectedOutputContains ( String expectedString , String x ) { if ( ! x . contains ( expectedString ) ) { fail ( "expected '" + expectedString + "' not found in '" + x + "'" ) ; } }
target:  Fails if expectedString is not found in x