// Path: src/main/java/com/github/vbauer/jconditions/core/junit/ConditionRule.java
// public class ConditionRule implements MethodRule {
// 
//     /**
//      * {@inheritDoc}
//      */
//     @Override
//     public Statement apply(
//         final Statement base, final FrameworkMethod method, final Object target
//     ) {
//         final ConditionChecker<?> checker =
//             ConditionCheckerEngine.detectFailedChecker(target, method);
// 
//         if (checker != null) {
//             return new IgnoreStatement(checker);
//         }
//         return base;
//     }
// 
// }


import com.github.vbauer.jconditions.core.junit.ConditionRule;
import org.junit.Rule;
package com.github.vbauer.jconditions.annotation;


/**
 * @author Vladislav Bauer
 */

public class RuleAnnotationsTest extends AbstractAnnotationsTest {

    @Rule
// Path: src/main/java/com/github/vbauer/jconditions/core/junit/ConditionRule.java
// public class ConditionRule implements MethodRule {
// 
//     /**
//      * {@inheritDoc}
//      */
//     @Override
//     public Statement apply(
//         final Statement base, final FrameworkMethod method, final Object target
//     ) {
//         final ConditionChecker<?> checker =
//             ConditionCheckerEngine.detectFailedChecker(target, method);
// 
//         if (checker != null) {
//             return new IgnoreStatement(checker);
//         }
//         return base;
//     }
// 
// }


// Path: src/test/java/com/github/vbauer/jconditions/annotation/RuleAnnotationsTest.java
import com.github.vbauer.jconditions.core.junit.ConditionRule;
import org.junit.Rule;

package com.github.vbauer.jconditions.annotation;


/**
 * @author Vladislav Bauer
 */

public class RuleAnnotationsTest extends AbstractAnnotationsTest {

    @Rule
    public final ConditionRule rule = new ConditionRule();