$class * @return MockObject&T */ public function createMock($class) {} /** * Returns a builder object to create mock objects using a fluent interface. * * @template T * @param class-string $className * * @return MockBuilder */ public function getMockBuilder(string $className) {} /** * @template T * @param class-string $classOrInterface * @return ObjectProphecy */ public function prophesize($classOrInterface): ObjectProphecy {} /** * @param class-string<\Throwable> $exception * @return void */ public function expectException(string $exception) {} }