@Test
void remove_created_vehicle_by_id() {

    VehicleEntity vehicleEntity = vehicleEntity(testVehicle);
    final long id = testVehicle.id();
    when(crudRepository.findById(id)).thenReturn(Optional.of(vehicleEntity));
    Vehicle removed = repository.removeVehicle(id);
    assertThat(removed).isEqualTo(testVehicle);
    verify(crudRepository).deleteById(id);
}