service = $this->subMock([ 'class' => ForeignHaiRoboticsService::class, 'methods' => [ 'putBinToStore' => true, ], 'subServices' => [ [ 'serviceName' => 'stationService', 'class' => StationService::class, 'methods' => [ // 'broadcastBinMonitor' => true, ], ], ] ]); } public function testReturned() { $this->service->markBinProcessed( '', "8b839c28-f2e3-3d56-b34a-d9ac4fd81fa2", true, '', '', true); $this->assertTrue(true); } function tearDown(): void { parent::tearDown(); } }