/** * {@inheritDoc} */ public function setUp() { $this->initializer = new Initializer(); $this->template = $this->getMockForAbstractClass('Deployer\\Initializer\\Template\\TemplateInterface'); $this->initializer->addTemplate('test', $this->template); }