public static ConnectionInformation fromConnection ( Connection connection ) { final ConnectionInformation connectionInformation = new ConnectionInformation ( ) ; connectionInformation . connection = connection ; return connectionInformation ; }
This method should only be used in test scenarios