public function setUp()
 {
     $this->check = new CodeParseCheck((new ParserFactory())->create(ParserFactory::PREFER_PHP7));
     $this->assertEquals('Code Parse Check', $this->check->getName());
     $this->assertEquals(ExerciseInterface::class, $this->check->getExerciseInterface());
     $this->assertEquals(SimpleCheckInterface::CHECK_BEFORE, $this->check->getPosition());
     $this->assertTrue($this->check->canRun(ExerciseType::CGI()));
     $this->assertTrue($this->check->canRun(ExerciseType::CLI()));
     $this->file = sprintf('%s/%s/submission.php', str_replace('\\', '/', sys_get_temp_dir()), $this->getName());
     mkdir(dirname($this->file), 0775, true);
     touch($this->file);
 }