myFixture.configureByFile(getTestName(true) + ".dart");
doTestImpl();
}
private void doTestImpl() {
final DartExtractMethodHandler extractMethodHandler = new DartExtractMethodHandler();
//noinspection NullableProblems
extractMethodHandler.invoke(myFixture.getProject(), myFixture.getEditor(), myFixture.getFile(), null);
myFixture.checkResultByFile(getTestName(true) + "_expected.dart");
}