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 jetbrains.mps.internal.collections.runtime.ListSequence; import java.util.ArrayList; @MPSLaunch public class TestSubstitute_CanExecute_Test extends BaseTransformationTest { @Test public void test_TestSubstitute_CanExecute() 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_CanExecute_Test$TestBody", "testMethod", false); } @MPSLaunch public static class TestBody extends BaseEditorTestBody { @Override public void testMethodImpl() throws Exception { initEditorComponent("8032286684683496415", "8032286684683496418"); invokeAction("jetbrains.mps.ide.editor.actions.Complete_Action"); typeString("can"); pressKeys(ListSequence.fromListAndArray(new ArrayList<String>(), " ENTER")); } } }