Hi,
The database unit tests of the UPS contain a lot of setup code as setting up the database
is done within the test method. I’m proposing to remove this ‘noise’ from the test and put
it in a separate file. Another thing that is setting up the dao's, when we use
arquillian weld container we can use injection in our tests to further reduce the
boilerplate, have a look at an example:
https://github.com/edewit/aerogear-unifiedpush-server/blob/4bb63adce319df...
If you like I could do this for all these tests.
Cheers,
Erik Jan