eZ\Publish\Core\IO\Tests\IOMetadataHandler\FlysystemTest::testLoadNoTimestamp PHP Method

testLoadNoTimestamp() public method

The timestamp index can be unset with some handlers, like AWS/S3.
public testLoadNoTimestamp ( )
    public function testLoadNoTimestamp()
    {
        $this->filesystem->expects($this->once())->method('getMetadata')->with('prefix/my/file.png')->will($this->returnValue(array('size' => 123)));
        $spiBinaryFile = $this->handler->load('prefix/my/file.png');
        $this->assertNull($spiBinaryFile->mtime);
    }