/** * @test */ public function notEqualsReturnsGreaterThanOrLesserThan() { $eq2 = new \PHPAccessControl\Specification\ValueBoundSpecification\Equals(2); $lt2 = new \PHPAccessControl\Specification\ValueBoundSpecification\LesserThan(2); $gt2 = new \PHPAccessControl\Specification\ValueBoundSpecification\GreaterThan(2); $this->assertTrue($eq2->not()->isEqualTo($lt2->lOr($gt2))); }