Esempio n. 1
0
 /**
  * @test
  */
 public function convertToBooleanProperlyConvertsObjects()
 {
     $this->assertFalse(BooleanNode::convertToBoolean(NULL));
     $this->assertTrue(BooleanNode::convertToBoolean(new \stdClass()));
 }