@Test
public void startRegistration_compromisedDevice() throws Exception {

    DeviceRegistration deviceRegistration = new DeviceRegistration(KEY_HANDLE_BASE64, USER_PUBLIC_KEY_SIGN_HEX, ATTESTATION_CERTIFICATE, 0);
    deviceRegistration.markCompromised();
    u2f.startRegistration(APP_ID_ENROLL, ImmutableList.of(deviceRegistration));
}