{
mDomainRoot = domainRoot;
mQueryMgr = domainRoot.getQueryMgr();
mTestUtil = new TestUtil( domainRoot );
final AMXDebugStuff debugRoot = mTestUtil.asAMXDebugStuff( mDomainRoot );
if ( debugRoot == null )
{
throw new RuntimeException( "AMX-DEBUG/CoverageInfo is not enabled" );
}
final CoverageInfo coverageInfo = debugRoot.getCoverageInfo();
if ( coverageInfo instanceof CoverageInfoDummy )
{
throw new IllegalArgumentException( "Coverage disabled--add system property " +
"'-DAMX-DEBUG=true', then restart server" );