DemoService { public Collection<RoutingProblem> demos() { return routingProblems.all(); } @Autowired  DemoService(
            RoutingProblemList routingProblems,
            LocationService locationService,
            LocationRepository locationRepository,
            VehicleService vehicleService,
            VehicleRepository vehicleRepository,
            DataSetMarshaller dataSetMarshaller); Collection<RoutingProblem> demos(); @Async void loadDemo(String name); String exportDataSet();  }
@Test void demos_should_return_routing_problems() { when(routingProblems.all()).thenReturn(Arrays.asList(routingProblem)); Collection<RoutingProblem> problems = demoService.demos(); assertThat(problems).containsExactly(routingProblem); }