__construct() public method

public __construct ( $function, array $arguments = null, $object = null )
$arguments array
Beispiel #1
0
 public function __construct(asserters\mock $mockAsserter, test\adapter $adapter, $function)
 {
     $this->mockAsserter = $mockAsserter;
     $this->adapter = $adapter;
     parent::__construct($function);
 }
Beispiel #2
0
 public function __construct(asserters\mock $mockAsserter, atoum\mock\aggregator $mockAggregator, $function)
 {
     $this->mockAsserter = $mockAsserter;
     parent::__construct($function, null, $mockAggregator);
 }