# responsive-menu/3.0.12/tests/app/Form/ImportTest.php

Responsive Menu – Create Mobile-Friendly Menu, version 3.0.12. 17 lines.

- Page: https://pluginprobe.com/plugins/responsive-menu/3.0.12/code/tests/app/Form/ImportTest.php
- Raw: https://pluginprobe.com/plugins/responsive-menu/3.0.12/raw/tests/app/Form/ImportTest.php
- Modified: 2016-08-20T23:47:42+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/responsive-menu/3.0.12/code/tests/app/Form/ImportTest.php#L10-L20`.

```php
<?php

use PHPUnit\Framework\TestCase;

class ImportTest extends TestCase {

  public function setUp() {
    $this->form_component = new ResponsiveMenu\Form\Import;
  }

  public function testRendering() {
    $output = $this->form_component->render();
    $this->assertEquals('<input type="file" name="responsive_menu_import_file" /><input type="submit" class="button submit" name="responsive_menu_import" value="Import Options" />', $output);
  }

}

```
