```php $mock = Mockery::mock(MyClass::class); self::assertSth($mock); ... private function assertSth(MockInterface $mock) : void { $mock->expect('call')->once(); } ``` Gives > Call to an undefined method Mockery\ExpectationInterface|Mockery\ExpectsHigherOrderMessage::once() v0.11.3 Not sure if doable 🤔