public function getBody() { return file_get_contents($this->getFilesystemPath()); }
public function testGetContents() { $resource = new FileResource($this->fixturesDir . '/dir1/file1'); $this->assertSame(file_get_contents($resource->getFilesystemPath()), $resource->getBody()); }