You might wonder what happens when you give incorrect text in the expected parameter. Suppose we give the string # Free CRM software in the cloud for sales and service , then the AssertEquals check will fail and the output shown here will get printed to the console:
FAILED: checkListeners
java.lang.AssertionError: expected [# Free CRM software in the cloud for sales and service] but found [#1 Free CRM software in the cloud for sales and service]
Next, we will understand what are soft and hard asserts.