assertThat(methodItems.get(3).getMethodName(), is("successMethod"));
}
@Test
public void checkAndStoreTestClass_CanStoreTest_WithInheritClass_JUnit3() {
WjrStore store = new WjrStore();
storeLoader.checkAndStoreTestClass(store, ForTestJUnit3Inherit.class);
List<WjrClassItem> classItems = store.getClassItems();
assertThat(classItems.size(), is(1));
assertThat(classItems.get(0).getClassName(), is(ForTestJUnit3Inherit.class
.getName()));
List<WjrMethodItem> methodItems =
store.getMethodItems(ForTestJUnit3Inherit.class.getName());
assertThat(methodItems.size(), is(4));
assertThat(methodItems.get(0).getMethodName(), is("testErrorMethod"));
assertThat(methodItems.get(1).getMethodName(), is("testFailureMethod"));
assertThat(
methodItems.get(2).getMethodName(),