@Test public void removeAndroidDevice() { mockServer.expect(requestTo("https: .andExpect(method(DELETE)) .andRespond(withResponse("", responseHeaders, HttpStatus.NO_CONTENT, "No Content")); urbanAirship.registrationOperations().removeAndroidDevice("apid1"); mockServer.verify(); }
public void removeAndroidDevice(String apid) { restOperations.delete(APIDS_URL + apid); }
RegistrationTemplate implements RegistrationOperations { public void removeAndroidDevice(String apid) { restOperations.delete(APIDS_URL + apid); } }
RegistrationTemplate implements RegistrationOperations { public void removeAndroidDevice(String apid) { restOperations.delete(APIDS_URL + apid); } RegistrationTemplate(RestOperations restOperations); }
RegistrationTemplate implements RegistrationOperations { public void removeAndroidDevice(String apid) { restOperations.delete(APIDS_URL + apid); } RegistrationTemplate(RestOperations restOperations); void registerIOSDevice(IOSDeviceConfig deviceConfig); void registerAndroidDevice(AndroidDeviceConfig deviceConfig); void registerBlackberryDevice(BlackberryDeviceConfig deviceConfig); IOSDevice getIOSDevice(String deviceToken); AndroidDevice getAndroidDevice(String apid); BlackberryDevice getBlackberryDevice(String devicePin); void removeIOSDevice(String deviceToken); void removeAndroidDevice(String apid); void removeBlackberryDevice(String devicePin); }
RegistrationTemplate implements RegistrationOperations { public void removeAndroidDevice(String apid) { restOperations.delete(APIDS_URL + apid); } RegistrationTemplate(RestOperations restOperations); void registerIOSDevice(IOSDeviceConfig deviceConfig); void registerAndroidDevice(AndroidDeviceConfig deviceConfig); void registerBlackberryDevice(BlackberryDeviceConfig deviceConfig); IOSDevice getIOSDevice(String deviceToken); AndroidDevice getAndroidDevice(String apid); BlackberryDevice getBlackberryDevice(String devicePin); void removeIOSDevice(String deviceToken); void removeAndroidDevice(String apid); void removeBlackberryDevice(String devicePin);  }