Ah, will need `createCallableMock` in that case.

    $callable = $this->createCallableMock();
    $callable
        ->expects($this->once())
        ->method('__invoke')
        ->with($value);

(We should look into using phake for this stuff)