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:
If you like I could do this for all these tests.