Hi Everybody,
I have a problem with the unit testing. I'd like to (unit) test a class method, but in the method i have email sending command: 'renderer.render(/emails/activation.xhtml
);'. During the test running i get always nullpointerexception, when on that row.
So my question, can i test the email sending in unit test, or only in integration test (there it's working perfectly).
Thanks forwards,
b