@@ -0,0 +1,2094 @@
+package sp.util.function;%0D%0A%0D%0Aimport static org.hamcrest.CoreMatchers.*;%0D%0Aimport static org.junit.Assert.*;%0D%0A%0D%0Aimport org.junit.Rule;%0D%0Aimport org.junit.Test;%0D%0Aimport org.junit.rules.ExpectedException;%0D%0A%0D%0A/**%0D%0A * %7B@link PredicateWithThrown.OfObj%7D %E3%81%AE%E3%83%86%E3%82%B9%E3%83%88%E9%A7%86%E5%8B%95%E9%96%8B%E7%99%BA.%0D%0A *%0D%0A * @author Se-foo%0D%0A * @since 0.1%0D%0A */%0D%0Apublic class PredicateWithThrown_OfObjTddTest %7B%0D%0A%0D%0A    @Rule%0D%0A    public ExpectedException thrown = ExpectedException.none();%0D%0A%0D%0A    @Test%0D%0A    public void test() %7B%0D%0A%0D%0A        // Check exception from #test(%22test%22)%0D%0A        this.thrown.expect(NumberFormatException.class);%0D%0A        this.thrown.expectMessage(%22test%22);%0D%0A%0D%0A        // #test%0D%0A        PredicateWithThrown.OfObj%3CString, NumberFormatException%3E instance = target -%3E Integer.parseInt(target) %3E 0;%0D%0A        assertThat(instance.test(%221%22), is(true));%0D%0A        assertThat(instance.test(%220%22), is(false));%0D%0A%0D%0A        // #negate%0D%0A        assertThat(instance.negate().test(%221%22), is(false));%0D%0A        assertThat(instance.negate().test(%220%22), is(true));%0D%0A%0D%0A        // #and%0D%0A        assertThat(instance.and(target -%3E Double.parseDouble(target) %3E 0.0).test(%221%22), is(true));%0D%0A        assertThat(instance.and(target -%3E Double.parseDouble(target) %3E 0.0).test(%220%22), is(false));%0D%0A%0D%0A        // #andPredicate%0D%0A        assertThat(instance.andPredicate(target -%3E !target.isEmpty()).test(%221%22), is(true));%0D%0A        assertThat(instance.andPredicate(target -%3E !target.isEmpty()).test(%220%22), is(false));%0D%0A%0D%0A        // #or%0D%0A        assertThat(instance.or(target -%3E Double.parseDouble(target) %3E 0.0).test(%221%22), is(true));%0D%0A        assertThat(instance.or(target -%3E Double.parseDouble(target) %3E 0.0).test(%220%22), is(false));%0D%0A%0D%0A        // #orPredicate%0D%0A        assertThat(instance.orPredicate(target -%3E !target.isEmpty()).test(%221%22), is(true));%0D%0A        assertThat(instance.orPredicate(target -%3E !target.isEmpty()).test(%220%22), is(true));%0D%0A%0D%0A        // #toPredicate%0D%0A        assertThat(instance.toPredicate().test(%221%22), is(true));%0D%0A        assertThat(instance.toPredicate().test(%220%22), is(false));%0D%0A%0D%0A        // #test%0D%0A        instance.toPredicate().test(%22test%22);%0D%0A    %7D%0D%0A%0D%0A%7D%0D%0A

Add TDD of PredicateWithThrown.OfObj