@Test public void getRenegotiationDoc() throws Exception { NegotiationWsClient client = new NegotiationWsClient(); Renegotiate renegotiationDoc = client.getRenegotiationDoc("111"); assertEquals("111", renegotiationDoc.getSlaID()); }
public Renegotiate getRenegotiationDoc(String id) throws java.lang.Exception { Renegotiate doc = new Renegotiate(); doc.setSlaID(id); return doc; }
NegotiationWsClient implements NegotiationClient { public Renegotiate getRenegotiationDoc(String id) throws java.lang.Exception { Renegotiate doc = new Renegotiate(); doc.setSlaID(id); return doc; } }
NegotiationWsClient implements NegotiationClient { public Renegotiate getRenegotiationDoc(String id) throws java.lang.Exception { Renegotiate doc = new Renegotiate(); doc.setSlaID(id); return doc; } NegotiationWsClient(); }
NegotiationWsClient implements NegotiationClient { public Renegotiate getRenegotiationDoc(String id) throws java.lang.Exception { Renegotiate doc = new Renegotiate(); doc.setSlaID(id); return doc; } NegotiationWsClient(); void setSlaTranslator(SlaTranslator slaTranslator); @Override String initiateNegotiation(String endpoint, SLATemplate slaTemplate); @Override String renegotiate(String endpoint, String id); @Override SLATemplate[] negotiate(String endpoint, SLATemplate slaTemplate, String negotiationId); @Override SLA createAgreement(String endpoint, SLATemplate slaTemplate, String negotiationId); InitiateNegotiation getInitiateNegotiationDoc(SLATemplate slat); Renegotiate getRenegotiationDoc(String id); Negotiate getNegotiationDoc(String negotiationId, SLATemplate slat); CreateAgreement getAgreementDoc(String negotiationId, SLATemplate slat); }
NegotiationWsClient implements NegotiationClient { public Renegotiate getRenegotiationDoc(String id) throws java.lang.Exception { Renegotiate doc = new Renegotiate(); doc.setSlaID(id); return doc; } NegotiationWsClient(); void setSlaTranslator(SlaTranslator slaTranslator); @Override String initiateNegotiation(String endpoint, SLATemplate slaTemplate); @Override String renegotiate(String endpoint, String id); @Override SLATemplate[] negotiate(String endpoint, SLATemplate slaTemplate, String negotiationId); @Override SLA createAgreement(String endpoint, SLATemplate slaTemplate, String negotiationId); InitiateNegotiation getInitiateNegotiationDoc(SLATemplate slat); Renegotiate getRenegotiationDoc(String id); Negotiate getNegotiationDoc(String negotiationId, SLATemplate slat); CreateAgreement getAgreementDoc(String negotiationId, SLATemplate slat);  }