@Test
 public void getVehicleDetailsWhenResultIsSuccessShouldReturnDetails() throws Exception {
   this.server
       .expect(requestTo("http://example.com/vehicle/" + VIN + "/details"))
       .andRespond(
           withSuccess(getClassPathResource("vehicledetails.json"), MediaType.APPLICATION_JSON));
   VehicleDetails details = this.service.getVehicleDetails(new VehicleIdentificationNumber(VIN));
   assertThat(details.getMake()).isEqualTo("Honda");
   assertThat(details.getModel()).isEqualTo("Civic");
 }
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_display_vehicle_details);
    v = new VehicleDetails();
    final GlobalStorageClass gc = (GlobalStorageClass) getApplicationContext();

    v.CELL_PH_NUM = gc.vehicleDetails.CELL_PH_NUM;
    v.ASSET_NUM = gc.vehicleDetails.ASSET_NUM;
    v.FST_NAME = gc.vehicleDetails.FST_NAME;
    v.LAST_NAME = gc.vehicleDetails.LAST_NAME;

    EditText phoneNumber = (EditText) findViewById(R.id.phonenumber);
    EditText vehicleNumber = (EditText) findViewById(R.id.vehiclenumber);
    phoneNumber.setText(v.CELL_PH_NUM);
    vehicleNumber.setText(v.ASSET_NUM);
  }