getBody() public method

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