Are there any simple unit test examples for Errai? I'm searching and coming up with nothing on this subject which wouldn't be a problem except I'm having a problem getting mine to behave .
I took the HelloWorld example from the docs, threw it into a GWTTestCase for my project and our team is having trouble seeing a message get received off the errai bus.
Source for Unit Test is here: http://pastie.org/1221736
Output received is here : http://pastie.org/1221722
What I find odd is that there seems to be very little in the way of examples for unit testing this library - it must be me failing to google things up here right? I see articles about unit testing with gwttestcase and snipets of errai code in the documentation but no concrete "heres a sample unit test for errai" to get you started!
I've tried added a delayTest call in there since it might just be exiting the test method before the message has a chance to be caught by the service, but no dice.
Could really use a hand here folks, it really can't be this onerous to test with errai.