public TestProbeBuilder createProbeBuilder ( Object testClassInstance ) throws IOException , ExamConfigurationException { if ( defaultProbeBuilder == null ) { defaultProbeBuilder = system . createProbe ( ) ; } TestProbeBuilder probeBuilder = overwriteWithUserDefinition ( currentTestClass , testClassInstance ) ; if ( probeBuilder . getTempDir ( ) == null ) { probeBuilder . setTempDir ( defaultProbeBuilder . getTempDir ( ) ) ; } return probeBuilder ; }
Lazily creates a probe builder . The same probe builder will be reused for all test classes unless the default builder is overridden in a given class .