public void assertContains(String source, String substring) { assertContains(source,substring,"",null);
public void assertContains(String source, String substring, String cfgDescMsg,String extraText) { assertNotNull("No string to look for ["+substring+"]",source); assertNotNull("No substring ", substring); final boolean contained = source.indexOf(substring)>=0; if(!contained) { String message = "Did not find ["+substring+"] in ["+source+"]"+"\n, Result:"+cfgDescMsg; System.out.println(message); if (extraText != null) { System.out.println(extraText); } fail(message); }
    public void assertContains(String source, String substring) {       assertContains(source,substring,"",null);    }