Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- component extends='approot.test.BaseTestCase' {
- public void function setUp() {
- // Call the super setup method to setup the app.
- super.setup();
- }
- public void function testSend() {
- // Execute the event we want to test.
- local.event = execute("tester.send");
- debug(local.event.getCollection());
- //Do your asserts below
- assertEquals("Thank you for your comment", local.event.getValue("message",""), "Failed to send the email.");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement