public function testProxyCallAndReturnedValueOnIsStored() { $expectedPath = 'thePath'; $expectedFilter = 'theFilter'; $this->primaryResolver->expects($this->once())->method('isStored')->with($expectedPath, $expectedFilter)->will($this->returnValue(true)); $this->assertTrue($this->resolver->isStored($expectedPath, $expectedFilter)); }