public static <T extends VerifiableEntity>Deserializer roundtripVerifiableEntity(final T originalEntity,final Account deserializedSigner){
  final MockAccountLookup accountLookup=new MockAccountLookup();
  accountLookup.setMockAccount(deserializedSigner);
  return roundtripVerifiableEntity(originalEntity,accountLookup);
}

public static < T extends VerifiableEntity > Deserializer roundtripVerifiableEntity ( final T originalEntity , final Account deserializedSigner ) { final MockAccountLookup accountLookup = new MockAccountLookup ( ) ; accountLookup . setMockAccount ( deserializedSigner ) ; return roundtripVerifiableEntity ( originalEntity , accountLookup ) ; }
serializes originalentity and returns an objectdeserializer that can deserialize it .
