{
@Test
public void test()
{
EngineFactory engineFactory = new ProtonFactoryLoader<EngineFactory>(EngineFactory.class).loadFactory();
Connection connection1 = engineFactory.createConnection();
Connection connection2 = engineFactory.createConnection();;
Transport transport1 = engineFactory.createTransport();
transport1.bind(connection1);
Transport transport2 = engineFactory.createTransport();
transport2.bind(connection2);
assertEquals(EndpointState.UNINITIALIZED, connection1.getLocalState());
assertEquals(EndpointState.UNINITIALIZED, connection1.getRemoteState());