public function testForwardCallToRead() { $this->readerImpl->expects($this->once()) ->method('read') ->with(self::RES_DIR, 'root') ->will($this->returnValue(self::$data)); $this->assertSame(self::$data, $this->reader->read(self::RES_DIR, 'root')); }