@Test
 public void testSumIncludingDriver() throws Exception {
   Car car = new Car(1, "model", 2000, 5, true, 1, 2, 3, 1, 2, 1, 2, "path");
   int days = 1;
   int sum = car.getPrice() * days + 200;
   assertEquals(sum, checkService.getSumWithDriver(car, days));
 }
 @Test
 public void testSelectById() throws Exception {
   int id = 1;
   when(checkRepository.selectById(id)).thenReturn(check);
   assertEquals(check, checkService.selectById(id));
   verify(connection).commit();
   verify(connection).close();
 }