Closed irinamok closed 12 years ago
Your test is wrong. The last line should be reversed:
assertContains (logger.getText(), "Button - button1 - clicked");
The parameters for this function are assertContains(collection, value, msg);
meaning the collection needs to be the first parameter. I changed this per your last request with assertContains
The following code should pass, instead it fails because assertContains apparently works as assertEqual: