shouldReceive('dispatchPlatformMonths') ->once() ->with([ 'taobao-wechat' => ['2026-10', '2026-11'], ]) ->andReturn(['jobs' => 2]); $result = (new BillPerformanceResyncDispatcher($queue)) ->dispatch('taobao-wechat', '2026-10-29', '2026-11-02'); $this->assertSame([ 'jobs' => 2, 'months' => ['2026-10', '2026-11'], ], $result); } }