/** * @test */ public function isSpecialCaseOfLogicalOrIfOnePartIsSpecialCaseOfAtLeastOnPartOfLogicalOr() { $eq2 = new \PHPAccessControl\Specification\ValueBoundSpecification\Equals(2); $eq6 = new \PHPAccessControl\Specification\ValueBoundSpecification\Equals(6); $lt4 = new \PHPAccessControl\Specification\ValueBoundSpecification\LesserThan(4); $lt3 = new \PHPAccessControl\Specification\ValueBoundSpecification\LesserThan(3); $this->assertTrue($eq2->lAnd($lt3)->isSpecialCaseOf($eq6->lOr($lt4))); }