public function testContents() { $this->compiler->expects($this->once())->method('generate')->with($this->asset)->will($this->returnValue('contents')); $this->assertEquals('contents', $this->target->contents()); }