public function __construct(ObjectProphecy $prophecy) { $this->prophecy = $prophecy; }
public function __construct(ObjectProphecy $prophecy, $class) { parent::__construct($prophecy); $this->prophecy = $prophecy; $this->beADoubleOf($class); }