/** * Test if the method `isRightAssociative` returns false if the operator isn't right associative. */ public function testIsRightAssociativeReturnsFalse() { $operator = new TernaryOperator(1, 2, 10, TernaryOperator::LEFT, false, function () { }); $this->assertFalse($operator->isRightAssociative()); }