package org.togglz.junit.vary;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.togglz.junit.TogglzRule;
import static org.junit.Assert.assertFalse;
public class TogglzRuleWithVariations_EnableSadCase_Test {
@Rule
public ExpectedException expectedException = ExpectedException.none();
@Rule
public TogglzRule togglzRule = TogglzRule.builder(MyFeatures.class)
.enable(MyFeatures.F1)
.build();
@Test
public void test() {
expectedException.expect(AssertionError.class);
assertFalse(MyFeatures.F1.isActive());
}
}