@Test
  public void throwRNFExceptionWhenRetrieveVehicleWithUnknownVehicleId() {
    when(vehicleRepository.findFirstByGarageIdAndVehicleId("garage-id", "vehicle-id"))
        .thenReturn(null);

    expectedException.expect(isA(ResourcesNotFoundException.class));
    expectedException.expectMessage("Vehicle not found");

    defaultVehicleService.findVehicle("garage-id", null);
  }
  @Test
  public void findVehicleInGarageReturnsVehicle() {
    when(vehicleRepository.findFirstByGarageIdAndVehicleId("garage-id", "vehicle-id"))
        .thenReturn(new VehicleResponse());

    defaultVehicleService.findVehicle("garage-id", "vehicle-id");

    verify(vehicleRepository, times(1)).findFirstByGarageIdAndVehicleId(anyString(), anyString());

    verify(vehicleRepository, times(1)).findFirstByGarageIdAndVehicleId("garage-id", "vehicle-id");
    verifyNoMoreInteractions(vehicleRepository);
  }