public function testFindMissing() { $path = 'something.jpg'; $this->ioService->expects($this->once())->method('loadBinaryFile')->with($path)->will($this->returnValue(new MissingBinaryFile())); $this->binaryLoader->find($path); }