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