@Test public void removeIOSDevice() { mockServer.expect(requestTo("https: .andExpect(method(DELETE)) .andRespond(withResponse("", responseHeaders, HttpStatus.NO_CONTENT, "No Content")); urbanAirship.registrationOperations().removeIOSDevice(DEVICE_TOKEN); mockServer.verify(); }
public void removeIOSDevice(String deviceToken) { restOperations.delete(DEVICE_TOKENS_URL + deviceToken); }
RegistrationTemplate implements RegistrationOperations { public void removeIOSDevice(String deviceToken) { restOperations.delete(DEVICE_TOKENS_URL + deviceToken); } }
RegistrationTemplate implements RegistrationOperations { public void removeIOSDevice(String deviceToken) { restOperations.delete(DEVICE_TOKENS_URL + deviceToken); } RegistrationTemplate(RestOperations restOperations); }
RegistrationTemplate implements RegistrationOperations { public void removeIOSDevice(String deviceToken) { restOperations.delete(DEVICE_TOKENS_URL + deviceToken); } 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 removeIOSDevice(String deviceToken) { restOperations.delete(DEVICE_TOKENS_URL + deviceToken); } 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);  }