43444546474849
private RegexMatcher abc; @Before public void setUp() { abc = new RegexMatcher( "abc", 0 ); }
62636465666768
public void raisesExceptionContainingValueAndPattern() { thrown.expect( ValueConversionException.class ); thrown.expectMessage( "\\d+" ); thrown.expectMessage( "asdf" ); new RegexMatcher( "\\d+", 0 ).convert( "asdf" ); }