assertEquals("all", ((List<String>) ReflectionUtils.getFieldValue(groupsTestRunner, "groups")).get(0));
}
@Test
public void isTestClassShouldRun() throws InitializationError {
GroupsTestRunner groupsTestRunner = new GroupsTestRunner(GroupsTestRunnerTest.class);
ReflectionUtils.invokeMethod(groupsTestRunner, "initGroups", null, null);
assertEquals(true, GroupsTestRunner.shouldRun(TestClassBean1.class));
assertEquals(true, GroupsTestRunner.shouldRun(TestClassBean2.class));
assertEquals(false, GroupsTestRunner.shouldRun(TestClassBean3.class));