@Test
void createsNetworkSessions()
{

    Config config = Config.builder().withLogging( DEV_NULL_LOGGING ).build();
    SessionFactory factory = newSessionFactory( config );
    NetworkSession readSession = factory.newInstance( builder().withDefaultAccessMode( AccessMode.READ ).build() );
    assertThat( readSession, instanceOf( NetworkSession.class ) );
    NetworkSession writeSession = factory.newInstance( builder().withDefaultAccessMode( AccessMode.WRITE ).build() );
    assertThat( writeSession, instanceOf( NetworkSession.class ) );
}