public async Task TestAddRequestFeesWorksForSeveralMethods() { var ex = await Assert.ThrowsExceptionAsync <IncompatiblePaymentMethodsException>(() => Payments.AddRequestFeesAsync(wallet, DID_TRUSTEE, emptyObject, incompatibleInputs, emptyObject, null) ); }
public async Task testAddRequestFeesWorksForInvalidInputs() { var ex = await Assert.ThrowsExceptionAsync <InvalidStructureException>(() => Payments.AddRequestFeesAsync(wallet, DID_TRUSTEE, emptyObject, invalidInputs, emptyObject, null) ); }
public async Task TestAddRequestFeesWorksForUnknownPaymentMethod() { var ex = await Assert.ThrowsExceptionAsync <UnknownPaymentMethodException>(() => Payments.AddRequestFeesAsync(wallet, DID_TRUSTEE, emptyObject, inputs, outputs, null) ); }