assertThat(methodItem.getTrace(), is(not(nullValue())));
}
@Test
public void runWjrMethod_CanRunErrorMethod() {
WjrMethodItem methodItem =
new WjrMethodItem(ForTest.class.getName(), "errorMethod");
methodRunner.runWjrMethod(methodItem);
assertThat(methodItem.getState(), is(State.ERROR));
assertThat(methodItem.getTrace(), is(not(nullValue())));
methodItem =
new WjrMethodItem(ForTestJUnit3.class.getName(), "testErrorMethod");
methodRunner.runWjrMethod(methodItem);
assertThat(methodItem.getState(), is(State.ERROR));
assertThat(methodItem.getTrace(), is(not(nullValue())));
}