@@ -0,0 +1,1109 @@
+package io.github.uetoyo.patterns.specification;%0A%0Apublic class DisjunctionSpecificationTest extends CompositeSpecificationTest %7B%0A%0A%09/* %0A%09 * True OR True = True%0A%09 */%0A%09public void test_that_true_or_true_specification_returns_true() %7B%0A%09%09DisjunctionSpecification%3CObject%3E spec = new DisjunctionSpecification%3CObject%3E(ts, ts);%0A%09%09assertTrue(spec.isSatisfiedBy(new Object()));%0A%09%7D%0A%09%0A%09/*%0A%09 * True OR False = True%0A%09 */%0A%09public void test_that_true_or_false_specification_returns_true() %7B%0A%09%09DisjunctionSpecification%3CObject%3E spec = new DisjunctionSpecification%3CObject%3E(ts, fs);%0A%09%09assertTrue(spec.isSatisfiedBy(new Object()));%0A%09%7D%0A%09%0A%09/*%0A%09 * False OR True = True%0A%09 */%0A%09public void test_that_false_or_true_specification_returns_true() %7B%0A%09%09DisjunctionSpecification%3CObject%3E spec = new DisjunctionSpecification%3CObject%3E(fs, ts);%0A%09%09assertTrue(spec.isSatisfiedBy(new Object()));%0A%09%7D%0A%09%0A%09/*%0A%09 * False AND False = False%0A%09 */%0A%09public void test_that_false_or_false_specification_returns_false() %7B%0A%09%09DisjunctionSpecification%3CObject%3E spec = new DisjunctionSpecification%3CObject%3E(fs, fs);%0A%09%09assertFalse(spec.isSatisfiedBy(new Object()));%0A%09%7D%0A%09%0A%7D%0A

Add a new test