assertEquals("got back what we set", ri, mc.getConnectionRequestInfo());
}
public void testClose() throws Exception {
final Object o = new Object();
ConnectionEventListener listener = EasyMock.createMock(ConnectionEventListener.class);
listener.connectionClosed(EasyMock.isA(ConnectionEvent.class));
EasyMock.expectLastCall();
EasyMock.replay(listener);
mc.addConnectionEventListener(listener);
mc.close(o);
EasyMock.verify(listener);