public void testAssertEqualsUsingRegularExpression() {
List<IntegrationTestCaseAssertion> assertions = testCases.get(0).getAssertions();
assertTrue(assertions.get(4) instanceof EqualityAssertion);
EqualityAssertion assertion = (EqualityAssertion) assertions.get(4);
assertTrue(assertion.isPositive());
assertFalse(assertion.ignoreWhitespace());
assertFalse(assertion.ignoreCase());
assertTrue(assertion.regularExpression());
assertEquals("//div[@id='main']/h2", assertion.getXPath());
assertEquals("^hello world i am [\\w]* now$", assertion.getExpectedValue());
}