public async Task TestBuildMintRequestWorksForEmptyOutputs() { var ex = await Assert.ThrowsExceptionAsync <InvalidStructureException>(() => Payments.BuildMintRequestAsync(wallet, DID_TRUSTEE, emptyArray, null) ); }
public async Task TestBuildMintRequestWorksForIncompatiblePaymentMethods() { var ex = await Assert.ThrowsExceptionAsync <IncompatiblePaymentMethodsException>(() => Payments.BuildMintRequestAsync(wallet, DID_TRUSTEE, incompatibleOutputs, null) ); }
public async Task TestBuildMintRequestWorksForUnknownPaymentMethod() { var ex = await Assert.ThrowsExceptionAsync <UnknownPaymentMethodException>(() => Payments.BuildMintRequestAsync(wallet, DID_TRUSTEE, outputs, null) ); }