public void ToSDKFromTextArea() { SignatureStyleConverter converter = new SignatureStyleConverter(FieldStyle.TEXT_AREA.getApiValue()); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.AreEqual(sdk.getApiValue(), FieldStyle.TEXT_AREA.getApiValue()); }
public void ToSDKFromNotarize() { SignatureStyleConverter converter = new SignatureStyleConverter(FieldStyle.SEAL.getApiValue()); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.AreEqual(sdk.getApiValue(), FieldStyle.SEAL.getApiValue()); }
public void ToSDKFromDate() { SignatureStyleConverter converter = new SignatureStyleConverter("DATE"); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.AreEqual(sdk.getApiValue(), "DATE"); }
public void ToSDKFromList() { SignatureStyleConverter converter = new SignatureStyleConverter(FieldStyle.DROP_LIST.getApiValue()); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.AreEqual(sdk.getApiValue(), FieldStyle.DROP_LIST.getApiValue()); }
public void ToSDKFromCheckbox() { SignatureStyleConverter converter = new SignatureStyleConverter(FieldStyle.UNBOUND_CHECK_BOX.getApiValue()); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.AreEqual(sdk.getApiValue(), FieldStyle.UNBOUND_CHECK_BOX.getApiValue()); }
public void ToSDKFromCustomField() { SignatureStyleConverter converter = new SignatureStyleConverter(FieldStyle.UNBOUND_CUSTOM_FIELD.getApiValue()); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.AreEqual(sdk.getApiValue(), FieldStyle.UNBOUND_CUSTOM_FIELD.getApiValue()); }
public void ToSDKFromQRCode() { SignatureStyleConverter converter = new SignatureStyleConverter(FieldStyle.BOUND_QRCODE.getApiValue()); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.AreEqual(sdk.getApiValue(), FieldStyle.BOUND_QRCODE.getApiValue()); }
public void ToSDKFromRadio() { SignatureStyleConverter converter = new SignatureStyleConverter(FieldStyle.UNBOUND_RADIO_BUTTON.getApiValue()); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.AreEqual(sdk.getApiValue(), FieldStyle.UNBOUND_RADIO_BUTTON.getApiValue()); }
public void ToSDKFromTextArea() { Silanis.ESL.API.FieldSubtype api = Silanis.ESL.API.FieldSubtype.TEXTAREA; SignatureStyleConverter converter = new SignatureStyleConverter(api); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.IsNull(sdk); }
public void ToSDKFromInitials() { SignatureStyleConverter converter = new SignatureStyleConverter(SignatureStyle.INITIALS.getApiValue()); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.IsNotNull(sdk); Assert.AreEqual(SignatureStyle.INITIALS, sdk); }
public void ToSDKFromFullName() { SignatureStyleConverter converter = new SignatureStyleConverter(SignatureStyle.FULL_NAME.getApiValue()); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.IsNotNull(sdk); Assert.AreEqual(SignatureStyle.FULL_NAME, sdk); }
public void ToSDKFromCapture() { SignatureStyleConverter converter = new SignatureStyleConverter(SignatureStyle.HAND_DRAWN.getApiValue()); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.IsNotNull(sdk); Assert.AreEqual(SignatureStyle.HAND_DRAWN, sdk); }
public void ToSDKFromList() { Silanis.ESL.API.FieldSubtype api = Silanis.ESL.API.FieldSubtype.LIST; SignatureStyleConverter converter = new SignatureStyleConverter(api); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.IsNull(sdk); }
public void ToSDKFromCustomField() { Silanis.ESL.API.FieldSubtype api = Silanis.ESL.API.FieldSubtype.CUSTOMFIELD; SignatureStyleConverter converter = new SignatureStyleConverter(api); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.IsNull(sdk); }
public void ToSDKFromCheckbox() { Silanis.ESL.API.FieldSubtype api = Silanis.ESL.API.FieldSubtype.CHECKBOX; SignatureStyleConverter converter = new SignatureStyleConverter(api); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.IsNull(sdk); }
public void ToSDKFromCapture() { Silanis.ESL.API.FieldSubtype api = Silanis.ESL.API.FieldSubtype.CAPTURE; SignatureStyleConverter converter = new SignatureStyleConverter(api); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.IsNotNull(sdk); Assert.AreEqual(SignatureStyle.HAND_DRAWN, sdk); }
public void ToSDKFromInitials() { Silanis.ESL.API.FieldSubtype api = Silanis.ESL.API.FieldSubtype.INITIALS; SignatureStyleConverter converter = new SignatureStyleConverter(api); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.IsNotNull(sdk); Assert.AreEqual(SignatureStyle.INITIALS, sdk); }
public void ToSDKFromFullName() { Silanis.ESL.API.FieldSubtype api = Silanis.ESL.API.FieldSubtype.FULLNAME; SignatureStyleConverter converter = new SignatureStyleConverter(api); SignatureStyle sdk = converter.ToSDKSignatureStyle(); Assert.IsNotNull(sdk); Assert.AreEqual(SignatureStyle.FULL_NAME, sdk); }