Skip to content
Snippets Groups Projects
Commit f98b747d authored by tpylak's avatar tpylak
Browse files

minor: add test method

SVN: 9120
parent 195cb3fb
No related branches found
No related tags found
No related merge requests found
......@@ -34,4 +34,9 @@ public class AssertionUtil
AssertJUnit.assertTrue(errorMsg, text.contains(expectedSubstring));
}
/** asserts that given text contains expectedSubstring. Comparision is case insensitive. */
public static void assertContainsInsensitive(String expectedSubstring, String text)
{
assertContains(expectedSubstring.toUpperCase(), text.toUpperCase());
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment