TestNGRunnableState (@NotNull final Executor executor, @NotNull final ExecutionEnvironment env) { final TestData data = getPersistantData(); if (data.TEST_OBJECT.equals(TestType.SOURCE.getType()) || data.getChangeList() != null) { return new TestNGTestDiscoveryRunnableState(env, this); } return new TestNGRunnableState(env, this); }