# responsive-menu/3.0.12/tests/app/View/FrontViewTest.php

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

- Page: https://pluginprobe.com/plugins/responsive-menu/3.0.12/code/tests/app/View/FrontViewTest.php
- Raw: https://pluginprobe.com/plugins/responsive-menu/3.0.12/raw/tests/app/View/FrontViewTest.php
- Modified: 2016-08-27T00:57:36+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/View/FrontViewTest.php#L10-L20`.

```php
<?php

namespace ResponsiveMenu\View;
use PHPUnit\Framework\Testcase;

class FrontViewTest extends TestCase {

  public function setUp() {
    $this->js_factory = $this->createMock('ResponsiveMenu\Factories\JsFactory');
    $this->css_factory = $this->createMock('ResponsiveMenu\Factories\CssFactory');
  }

  public function testSetup() {
    $front_view = new FrontView($this->js_factory, $this->css_factory);
    $this->assertInstanceOf('ResponsiveMenu\View\FrontView', $front_view);
  }

}

```
