[HAPI-devel] Mock ConnectionHub.attach() with Mockito

2012-08-03 Thread Derek Mahar
How does one mock ConnectionHub.attach() using Mockito? Here is my unsuccessful attempt where the matcher fails to match: public TestHl7GatewayStatusUpdateSender() throws HL7Exception { mConnectionHubFactory = new FakeHapiConnectionHubFactory(); Connection fakeConnection =

[HAPI-devel] Does HAPI require commons-cli?

2012-08-03 Thread Derek Mahar
Does HAPI require commons-cli? The HAPI binary distribution includes commons-cli-1.2, but I see no reason why HAPI would need it except to parse arguments in a main method in some HAPI utility class. For what purpose does HAPI require commons-cli? Thank you, Derek -- Derek Mahar Senior Softwa

Re: [HAPI-devel] Does HAPI require commons-cli?

2012-08-03 Thread christian ohr
Exactly for this reason. You can safely omit commons-cli, the next HAPI version will not depend on commons-cli anymore. cheers Christian Derek Mahar-2 wrote: > > Does HAPI require commons-cli? The HAPI binary distribution includes > commons-cli-1.2, but I see no reason why HAPI would need it