public void setUp() throws Exception {
    super.setUp();

    createDummyFiles(
        "app/Resources/TwigUtilIntegrationBundle/views/layout.html.twig",
        "app/Resources/TwigUtilIntegrationBundle/views/Foo/layout.html.twig",
        "app/Resources/TwigUtilIntegrationBundle/views/Foo/Bar/layout.html.twig");
  }
  public void setUp() throws Exception {
    super.setUp();

    myFixture.configureByText(
        YAMLFileType.YML,
        ""
            + "foo_yaml_pattern:\n"
            + "    pattern: /\n"
            + "    methods: [GET, POST]\n"
            + "    defaults: { _controller: foo_controller }"
            + "\n"
            + "foo_yaml_path:\n"
            + "    path: /\n"
            + "    defaults: { _controller: foo_controller }"
            + "\n"
            + "foo_yaml_controller_normalized:\n"
            + "    path: /\n"
            + "    defaults: { _controller: FooBundle:Foo/Foo:index }"
            + "\n"
            + "foo_yaml_path_only:\n"
            + "    path: /\n"
            + "foo_yaml_invalid:\n"
            + "    path_invalid: /\n");

    myFixture.configureByText(
        XmlFileType.INSTANCE,
        ""
            + "<routes>\n"
            + "  <route id=\"foo_xml_pattern\" pattern=\"/blog/{slug}\" methods=\"GET|POST\"/>\n"
            + "  <route id=\"foo_xml_path\" path=\"/blog/{slug}\">\n"
            + "    <default key=\"_controller\">Foo</default>\n"
            + "  </route>\n"
            + "  <route id=\"foo_controller_normalized\" path=\"/blog/{slug}\">\n"
            + "    <default key=\"_controller\">FooBundle:Foo/Foo:index</default>\n"
            + "  </route>\n"
            + "  <route id=\"foo_xml_id_only\"/>\n"
            + "</routes>");
  }
 public void setUp() throws Exception {
   super.setUp();
   myFixture.configureFromExistingVirtualFile(myFixture.copyFileToProject("classes.php"));
 }
 public void setUp() throws Exception {
   super.setUp();
   myFixture.copyFileToProject("ConfigLineMarkerProvider.php");
 }