@Test(expected = U2fBadInputException.class)
public void finishAuthentication_clientDataMissingField() throws Exception {

    SignRequest authentication = SignRequest.builder()
        .challenge(SERVER_CHALLENGE_SIGN_BASE64)
        .appId(APP_ID_SIGN)
        .keyHandle(KEY_HANDLE_BASE64)
        .build();
    SignResponse response = new SignResponse(U2fB64Encoding.encode("{}".getBytes()), "", "");
    u2f.finishSignature(authentication, response, new DeviceRegistration(KEY_HANDLE_BASE64, USER_PUBLIC_KEY_SIGN_HEX, ATTESTATION_CERTIFICATE, 0));
}