dcm4che/dcm4chee-arc-cdi — pull request #8 by abluesongbird (2014-10-17 19:56:21+00:00)
Title: Query service ejb test

Hi Gunter. This is the fix for the broken unit-tests that you mentioned last week. You might notice that I refactored some of the code in QueryServiceEJB to

A) make unit-testing easier by
B) reducing duplication and
C) breaking the logic into smaller less-complex methods.

While writing the tests, I noticed some questionable logic. I wrote a note to you on that, and I'll point out the code here.