@Test
void get_all_vehicles() {

    VehicleEntity vehicleEntity = vehicleEntity(testVehicle);
    when(crudRepository.findAll()).thenReturn(Collections.singletonList(vehicleEntity));
    assertThat(repository.vehicles()).containsExactly(testVehicle);
}