Ejemplo n.º 1
0
 /**
  * Test if the method `isLeftAssociative` returns false if the operator isn't left associative.
  */
 public function testIsLeftAssociativeReturnsFalse()
 {
     $operator = new TernaryOperator(1, 2, 10, TernaryOperator::RIGHT, false, function () {
     });
     $this->assertFalse($operator->isLeftAssociative());
 }