jPOS Test Framework: org.jpos.q2.iso.QServer (for simulating server responses) Spring Test: org.springframework.test.context.junit4.SpringRunner ...