    @Test(expected = IllegalArgumentException.class)
    public void fromUriStringShouldFailWhenDigitsParameterIsMissing() {

        OTPAuthURIBuilder.fromUriString("otpauth://totp/foo:bar?secret=12345&issuer=foo&period=30");
    }