public function setUp() { $this->imagick = $this->getMock('Imagick'); $this->initializer = new Imagick($this->imagick); }