public function testProxyCallOnStore() { $expectedPath = 'thePath'; $expectedFilter = 'theFilter'; $expectedBinary = new Binary('aContent', 'image/png', 'png'); $this->primaryResolver->expects($this->once())->method('store')->with($expectedBinary, $expectedPath, $expectedFilter); $this->resolver->store($expectedBinary, $expectedPath, $expectedFilter); }