anonymous wrote : But before I can assert something, I need to see it first... Are there really two tokens? Yes... Ok, assert.
I disagree. You can assert ANYTHING, e.g. assert that you expect one token. The test fails because there are more tokens. Assert that the token is in a certain state: it succeeds or fails and the real value is always printed.... I initially did it as you mention, but starting with assertions is way easier and more understandable for others if something goes wrong. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189260#4189260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4189260 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
