TRUNK-3203 Add JUnit test for getting by patients for method HibernatePa...

TRUNK-3203 Add JUnit test for getting by patients for method HibernatePa...