if (!TestSearchEngine.isTestImplementor(enclosingType)) { fDefaultClassToTest= enclosingType.getFullyQualifiedName();
if (!TestSearchEngine.isTestImplementor(classToTest)) { fDefaultClassToTest= classToTest.getFullyQualifiedName();
	public void init(IStructuredSelection selection, NewTestCaseCreationWizardPage2 page2) {		fPage2= page2;		IJavaElement element= getInitialJavaElement(selection);		initContainerPage(element);		initTypePage(element);		updateStatus(findMostSevereStatus());				// put default class to test				if (element != null) {			IType enclosingType= null;			// evaluate the enclosing type			IPackageFragment pack= (IPackageFragment) JavaModelUtil.findElementOfKind(element, IJavaElement.PACKAGE_FRAGMENT);			IType typeInCompUnit= (IType) JavaModelUtil.findElementOfKind(element, IJavaElement.TYPE);			if (typeInCompUnit != null) {				if (typeInCompUnit.getCompilationUnit() != null) {					enclosingType= typeInCompUnit;				}			} else {				ICompilationUnit cu= (ICompilationUnit) JavaModelUtil.findElementOfKind(element, IJavaElement.COMPILATION_UNIT);				if (cu != null) 					enclosingType= JavaModelUtil.findPrimaryType(cu);			}			if (enclosingType != null) {				try {					if (!TestSearchEngine.isTestImplementor(enclosingType)) {						fDefaultClassToTest= enclosingType.getFullyQualifiedName();					}				} catch (JavaModelException e) {					JUnitPlugin.log(e);				}			}		}		fMethodStubsButtons.setSelection(0, false); //main		fMethodStubsButtons.setSelection(1, false); //add textrunner		fMethodStubsButtons.setEnabled(1, false); //add text		fMethodStubsButtons.setSelection(2, false); //setUp		fMethodStubsButtons.setSelection(3, false); //tearDown	}