message: Added tests for store_their_did function
diff: @@ -237,6 +237,40 @@ mod tests {
  assert_ne!(res_with_seed.verkey, res_without_seed.verkey)
  }
  + #[test]
  + fn create_their_did_works_without_verkey() {
  + let service = SignusService::new();
  + let did = "8wZcEriaNLNKtteJvx7f8i";
  + let their_did_info = TheirDidInfo::new(did.to_string(), None, None, None);
  + let their_did: TheirDid = service.create_their_did(&their_did_info).unwrap();
  +
  + assert_eq!(did.to_string(), their_did.did);
  + assert_eq!(None, their_did.verkey);
  + }
  +
  + #[test]
  + fn create_their_did_works_for_full_verkey() {
  + let service = SignusService::new();
  + let did = "8wZcEriaNLNKtteJvx7f8i";
  + let verkey = "5L2HBnzbu6Auh2pkDRbFt5f4prvgE2LzknkuYLsKkacp";
  + let their_did_info = TheirDidInfo::new(did.to_string(), None, Some(verkey.to_string()), None);
  + let their_did: TheirDid = service.create_their_did(&their_did_info).unwrap();
  +
  + assert_eq!(did.to_string(), their_did.did);
  + assert_eq!(verkey, their_did.verkey.unwrap());
  + }
  +
  + #[test]
  + fn create_their_did_works_for_abbreviated_verkey() {
  + let service = SignusService::new();
  + let did = "8wZcEriaNLNKtteJvx7f8i";
  + let their_did_info = TheirDidInfo::new(did.to_string(), None, Some("~NcYxiDXkpYi6ov5FcYDi1e".to_string()), None);
  + let their_did: TheirDid = service.create_their_did(&their_did_info).unwrap();
  +
  + assert_eq!(did.to_string(), their_did.did);
  + assert_eq!("5L2HBnzbu6Auh2pkDRbFt5f4prvgE2LzknkuYLsKkacp", their_did.verkey.unwrap());
  + }
  +
  #[test]
  fn sign_works() {
  let service = SignusService::new();
  