Testing the intro messages...
We can order a produce for a user:
send::
msg order.product (product="Email", user="John")
expect:: (order contains "Success")
The mail server can create an email inbox when the user names are good:
send::
msg mailServer.create (what="Email", user="John")
expect:: (payload[="status"] is "Success")
We get a failure for bad user names:
send::
msg mailServer.create (what="Email", user="John@")
expect:: (payload[="status"] is "Fail")
You need to log in to post a comment!