@Test public void testExport() throws Exception { carService.export(); verify(carsDaoMocked).getAllCars(); verify(carsExportMocked).export(expectedCars); }