protected function shouldWriteGuardCoverage($data) { $this->getGuardCoverageFileWriter()->shouldReceive('write')->once()->with($data); }