mageekguy\atoum\test::getAssertionManager PHP Method

getAssertionManager() public method

public getAssertionManager ( )
    public function getAssertionManager()
    {
        return $this->assertionManager;
    }

Usage Example

 public function setTest(test $test)
 {
     $asserter = null;
     $test->getAssertionManager()->setHandler('json', function ($json, $depth = null, $options = null) use($test, &$asserter) {
         if ($asserter === null) {
             $asserter = new atoum\jsonSchema\asserters\json($test->getAsserterGenerator());
         }
         return $asserter->setWith($json, $depth, $options);
     });
     return $this;
 }
All Usage Examples Of mageekguy\atoum\test::getAssertionManager
test