public function testApiGetTimestamp_ReturnsMimetype_UsingGetMetadataOnModel() { $path = 'path'; $timestamp = time(); $this->expect('getTimestamp', [$path])->willReturn($timestamp); $this->assertEquals($timestamp, $this->fs->getTimestamp($path)); }