1package junitparams; 2 3import static org.assertj.core.api.Assertions.*; 4import static org.hamcrest.CoreMatchers.*; 5import static org.junit.Assume.*; 6 7import org.junit.*; 8import org.junit.runner.*; 9 10@RunWith(JUnitParamsRunner.class) 11public class AssumptionsTest { 12 13 @Test 14 @Parameters({ "true", "false" }) 15 public void assumeOnceWorksAndOnceIgnores(boolean value) { 16 assumeThat(value, is(true)); 17 assertThat(value).isTrue(); 18 } 19} 20