// 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/TestHelper.java
// public static Failure runAndRecordFailedAssumption(HavaRunner havaRunner) {
//     final AtomicReference<Failure> expectedFailure = new AtomicReference<>();
//     RunNotifier runNotifier = new RunNotifier() {
//         @Override
//         public void fireTestAssumptionFailed(Failure failure) {
//             expectedFailure.set(failure);
//         }
//     };
//     run(havaRunner, runNotifier);
//     return expectedFailure.get();
// }


import com.github.havarunner.annotation.AfterAll;
import com.github.havarunner.annotation.RunSequentially;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestRule;
import org.junit.runner.Description;
import org.junit.runner.notification.Failure;
import org.junit.runner.notification.RunNotifier;
import org.junit.runners.model.Statement;
import static com.github.havarunner.TestHelper.run;
import static com.github.havarunner.TestHelper.runAndRecordFailedAssumption;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertEquals;
import static org.junit.Assume.assumeThat;
import static org.junit.Assume.assumeTrue;
package com.github.havarunner;



public class AssumeThatTest {

    @Test
    public void HavaRunner_ignores_tests_that_use_the_assume_API_of_JUnit() {
// 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/TestHelper.java
// public static Failure runAndRecordFailedAssumption(HavaRunner havaRunner) {
//     final AtomicReference<Failure> expectedFailure = new AtomicReference<>();
//     RunNotifier runNotifier = new RunNotifier() {
//         @Override
//         public void fireTestAssumptionFailed(Failure failure) {
//             expectedFailure.set(failure);
//         }
//     };
//     run(havaRunner, runNotifier);
//     return expectedFailure.get();
// }


// Path: src/test/java/com/github/havarunner/AssumeThatTest.java
import com.github.havarunner.annotation.AfterAll;
import com.github.havarunner.annotation.RunSequentially;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TestRule;
import org.junit.runner.Description;
import org.junit.runner.notification.Failure;
import org.junit.runner.notification.RunNotifier;
import org.junit.runners.model.Statement;
import static com.github.havarunner.TestHelper.run;
import static com.github.havarunner.TestHelper.runAndRecordFailedAssumption;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertEquals;
import static org.junit.Assume.assumeThat;
import static org.junit.Assume.assumeTrue;

package com.github.havarunner;



public class AssumeThatTest {

    @Test
    public void HavaRunner_ignores_tests_that_use_the_assume_API_of_JUnit() {
        Failure failure = runAndRecordFailedAssumption(new HavaRunner(AssumptionDoesNotHold.class));