public void VASPCredentialsHashPropertyOfGetCredentialsRefAndHashAsyncCallResultShouldBe( string expectedResult) { _scenarioContext .GetCallResult <VASPCredentialsRefAndHash>() .Hash .ShouldBe(VASPCredentialsHash.Parse(expectedResult)); }
public void VASPCredentialsRefAndHashPropertyOfTheTryGetCredentialsRefAndHashAsyncCallResultShouldBe( string expectedRef, string expectedHash) { var(actualRef, actualHash) = _scenarioContext .GetCallResult <(bool VASPIsRegistered, VASPCredentialsRefAndHash VASPCredentialsRefAndHash)>() .VASPCredentialsRefAndHash; actualRef .ShouldBe(new VASPCredentialsRef(expectedRef)); actualHash .ShouldBe(VASPCredentialsHash.Parse(expectedHash)); }