public function testGetContentOnInvalidPath() { $resource = new FileResource(__FILE__ . 'foo'); $this ->assertSame('', $resource ->getContent(), '->getContent() returns an empty string when path is invalid'); }