/** * @covers ::__construct * @covers ::getIdentifier */ public function testFile_construct_noRequest() { $_REQUEST = $this->requestArr; $file = new File($this->config); $expIdentifier = sha1($this->requestArr['flowIdentifier']); $this->assertSame($expIdentifier, $file->getIdentifier()); }