private void testScenario(String aConfiguration,boolean anExpectingAnException,List<Method> aMethodsToCall) throws Exception {
  if (aMethodsToCall.isEmpty()) {
    testScenario(aConfiguration,anExpectingAnException,(Method)null);
  }
 else {
    for (    Method myMethod : aMethodsToCall) {
      testScenario(aConfiguration,anExpectingAnException,myMethod);
    }
  }
}

private void testScenario ( String aConfiguration , boolean anExpectingAnException , List < Method > aMethodsToCall ) throws Exception { if ( aMethodsToCall . isEmpty ( ) ) { testScenario ( aConfiguration , anExpectingAnException , ( Method ) null ) ; } else { for ( Method myMethod : aMethodsToCall ) { testScenario ( aConfiguration , anExpectingAnException , myMethod ) ; } } }
load an element with default configuration and call tostring . expect that the tostring triggers lazy loading which loads the nested element is available after closing the session .
