declare method
Implementation
void declare(void Function(TestHost host) scaffold,
{bool useCommonHost = false}) {
if (useCommonHost) {
dartTest.setUpAll(setUp);
dartTest.tearDownAll(tearDown);
} else {
dartTest.setUp(setUp);
dartTest.tearDown(tearDown);
}
scaffold(this);
}