Managing database connections for unit tests
Did you tried to move this logic to the helper itself ? It can receive a varargs of SessionType to connect and keep them until you tell him to destroy them. It can maintains a Map&lt;SessionType, DatabaseConnection&gt; to give access to them.

/* WARN; This is not production ready. Validation and exceptions handling 
 * is missing and the "destroy" method can be improved.
 */
public class DatabasesHelper {
  private final Map&lt;SessionType, DatabaseConnection&gt; connections = new HashMap&lt;&gt;();

  public void prepare(SessionType... sessions) {
    for(SessionType session : sessions) {
      connections.put(session, this.DoLogin(session));
    }    
  }

  public void destroy() {
    for(SessionType session : sessions) {
      this.DoLogout(connections.get(session));
    }    
    sessions.clear();
  }

}


Please note that your methods names does not follow the Java, naming conventions. You should use lowerCamelCase for them.