@Test
void removing_nonexistent_vehicle_should_fail() {

    when(crudRepository.findById(anyLong())).thenReturn(Optional.empty());
    // removing nonexistent vehicle should fail and its ID should appear in the exception message
    int uniqueNonexistentId = 7173;
    assertThatIllegalArgumentException()
            .isThrownBy(() -> repository.removeVehicle(uniqueNonexistentId))
            .withMessageContaining(String.valueOf(uniqueNonexistentId));
}