/** * @test */ public function flushCachesResetsBothRoutingCaches() { $this->mockRouteCache->expects($this->once())->method('flush'); $this->mockResolveCache->expects($this->once())->method('flush'); $this->routerCachingService->flushCaches(); }