public function __construct($name = null, array $data = [], $dataName = '') { parent::__construct($name, $data, $dataName); $this->fromStatus1 = Phake::mock('OpenOrchestra\\ModelInterface\\Model\\StatusInterface'); $this->fromStatus2 = Phake::mock('OpenOrchestra\\ModelInterface\\Model\\StatusInterface'); $this->publishedStatus = Phake::mock('OpenOrchestra\\ModelInterface\\Model\\StatusInterface'); $this->unpublishedStatus = Phake::mock('OpenOrchestra\\ModelInterface\\Model\\StatusInterface'); }
/** * tearDown */ public function tearDown() { foreach ($this->generatedFiles as $generatedFile) { if (file_exists($generatedFile)) { unlink($generatedFile); } } parent::tearDown(); }