// Path: src/test/java/com/github/havarunner/TestHelper.java
// public static void assertTestClasses(List<Class> expected, Class testClass) {
//     Set<String> parsedClassNames = parsedTestClassNames(testClass);
//     assertEquals(toName(expected), parsedClassNames);
// }
// 
// Path: src/test/java/com/github/havarunner/TestHelper.java
// public static void run(HavaRunner havaRunner, RunNotifier runNotifier) {
//     havaRunner.run(runNotifier);
// }


import com.github.havarunner.HavaRunner;
import com.github.havarunner.HavaRunnerSuite;
import com.github.havarunner.annotation.PartOf;
import com.google.common.collect.Lists;
import org.junit.Test;
import static com.github.havarunner.TestHelper.assertTestClasses;
import static com.github.havarunner.TestHelper.run;
import static org.junit.Assert.assertTrue;
package com.github.havarunner.suite;



public class ImplicitSuiteMembersTest {

    static boolean implicitTestInvoked;

    @Test
    public void suites_implicitly_include_enclosed_classes_of_suite_members() {
        run(new HavaRunner(Suite.class));
        assertTrue(implicitTestInvoked);
    }

    @Test
    public void HavaRunner_includes_suite_members_exactly_once() {
// Path: src/test/java/com/github/havarunner/TestHelper.java
// public static void assertTestClasses(List<Class> expected, Class testClass) {
//     Set<String> parsedClassNames = parsedTestClassNames(testClass);
//     assertEquals(toName(expected), parsedClassNames);
// }
// 
// Path: src/test/java/com/github/havarunner/TestHelper.java
// public static void run(HavaRunner havaRunner, RunNotifier runNotifier) {
//     havaRunner.run(runNotifier);
// }


// Path: src/test/java/com/github/havarunner/suite/ImplicitSuiteMembersTest.java
import com.github.havarunner.HavaRunner;
import com.github.havarunner.HavaRunnerSuite;
import com.github.havarunner.annotation.PartOf;
import com.google.common.collect.Lists;
import org.junit.Test;
import static com.github.havarunner.TestHelper.assertTestClasses;
import static com.github.havarunner.TestHelper.run;
import static org.junit.Assert.assertTrue;

package com.github.havarunner.suite;



public class ImplicitSuiteMembersTest {

    static boolean implicitTestInvoked;

    @Test
    public void suites_implicitly_include_enclosed_classes_of_suite_members() {
        run(new HavaRunner(Suite.class));
        assertTrue(implicitTestInvoked);
    }

    @Test
    public void HavaRunner_includes_suite_members_exactly_once() {
        assertTestClasses(Lists.<Class>newArrayList(SuiteMember.class, SuiteMember.InnerSuiteClass.class), Suite.class);