### Question:
RMManager { public void startServer(Server server) { recoverReliableEndpoint(server.getEndpoint(), (Conduit)null); }  void startServer(Server server); void stopServer(Server server); void clientCreated(final Client client); void clientDestroyed(Client client); void setRMNamespace(String uri); void setRM10AddressingNamespace(RM10AddressingNamespaceType addrns); Bus getBus(); @Resource void setBus(Bus b); RMStore getStore(); void setStore(RMStore s); RetransmissionQueue getRetransmissionQueue(); void setRetransmissionQueue(RetransmissionQueue rq); RedeliveryQueue getRedeliveryQueue(); void setRedeliveryQueue(RedeliveryQueue redeliveryQueue); SequenceIdentifierGenerator getIdGenerator(); void setIdGenerator(SequenceIdentifierGenerator generator); Timer getTimer(); BindingFaultFactory getBindingFaultFactory(Binding binding); void setDeliveryAssurance(DeliveryAssuranceType dat); DestinationPolicyType getDestinationPolicy(); void setDestinationPolicy(DestinationPolicyType destinationPolicy); RMConfiguration getConfiguration(); void setConfiguration(RMConfiguration configuration); RMConfiguration getEffectiveConfiguration(Message msg); void setRMAssertion(org.apache.cxf.ws.rmp.v200502.RMAssertion rma); SourcePolicyType getSourcePolicy(); void setSourcePolicy(SourcePolicyType sp); RMEndpoint getReliableEndpoint(Message message); RMEndpoint findReliableEndpoint(QName qn); Destination getDestination(Message message); Source getSource(Message message); SourceSequence getSequence(Identifier inSeqId, Message message, AddressingProperties maps); @PreDestroy void shutdown(); void init(Bus b); void initializeInterceptorChain(Message msg); PhaseInterceptorChain getRetransmitChain(Message msg); static final String WSRM_VERSION_PROPERTY; static final String WSRM_WSA_VERSION_PROPERTY; static final String WSRM_LAST_MESSAGE_PROPERTY; static final String WSRM_INACTIVITY_TIMEOUT_PROPERTY; static final String WSRM_RETRANSMISSION_INTERVAL_PROPERTY; static final String WSRM_EXPONENTIAL_BACKOFF_PROPERTY; static final String WSRM_ACKNOWLEDGEMENT_INTERVAL_PROPERTY; }### Answer:
@Test public void testStartServer() throws NoSuchMethodException { Method m = RMManager.class.getDeclaredMethod("recoverReliableEndpoint", new Class[] {Endpoint.class, Conduit.class}); manager = control.createMock(RMManager.class, new Method[] {m}); Server s = control.createMock(Server.class); Endpoint e = control.createMock(Endpoint.class); EasyMock.expect(s.getEndpoint()).andReturn(e); manager.recoverReliableEndpoint(e, (Conduit)null); EasyMock.expectLastCall(); control.replay(); manager.startServer(s); control.verify(); }