package jetbrains.mps.lang.editor.menus.substitute.tests.tests;
/*Generated by MPS */
import jetbrains.mps.MPSLaunch;
import jetbrains.mps.lang.test.runtime.BaseTransformationTest;
import org.junit.Test;
import jetbrains.mps.lang.test.runtime.BaseEditorTestBody;
import junit.framework.Assert;
import jetbrains.mps.internal.collections.runtime.ListSequence;
import java.util.ArrayList;
@MPSLaunch
public class TestSubstitute_Single_SpecializedLink_Complete_WithChangeOfTheContext_Test extends BaseTransformationTest {
@Test
public void test_TestSubstitute_Single_SpecializedLink_Complete_WithChangeOfTheContext() throws Throwable {
initTest("${mps_home}", "r:62873c84-7a76-488a-9b84-4e0ffdbec8db(jetbrains.mps.lang.editor.menus.substitute.tests.tests@tests)");
runTest("jetbrains.mps.lang.editor.menus.substitute.tests.tests.TestSubstitute_Single_SpecializedLink_Complete_WithChangeOfTheContext_Test$TestBody", "testMethod", false);
}
@MPSLaunch
public static class TestBody extends BaseEditorTestBody {
@Override
public void testMethodImpl() throws Exception {
initEditorComponent("8629363476786122187", "8629363476786122192");
invokeAction("jetbrains.mps.ide.editor.actions.Complete_Action");
Assert.assertTrue(getEditorComponent().getNodeSubstituteChooser().isVisible() && getEditorComponent().getNodeSubstituteChooser().getNumberOfActions() == 1);
pressKeys(ListSequence.fromListAndArray(new ArrayList<String>(), " ENTER"));
}
}
}