# responsive-menu/3.0.12/tests/app/Filesystem/ScriptsBuilderTest.php

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

- Page: https://pluginprobe.com/plugins/responsive-menu/3.0.12/code/tests/app/Filesystem/ScriptsBuilderTest.php
- Raw: https://pluginprobe.com/plugins/responsive-menu/3.0.12/raw/tests/app/Filesystem/ScriptsBuilderTest.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/Filesystem/ScriptsBuilderTest.php#L10-L20`.

```php
<?php

use PHPUnit\Framework\TestCase;

class ScriptsBuilderTest extends TestCase {

  public function setUp() {
    $this->files = $this->createMock('ResponsiveMenu\Filesystem\FileCreator');
    $this->folders = $this->createMock('ResponsiveMenu\Filesystem\FolderCreator');
    $this->css = $this->createMock('ResponsiveMenu\Factories\CssFactory');
    $this->js = $this->createMock('ResponsiveMenu\Factories\JsFactory');
    $this->collection = $this->createMock('ResponsiveMenu\Collections\OptionsCollection');
    $this->id = 2;
    
    $this->builder = new ResponsiveMenu\Filesystem\ScriptsBuilder($this->css, $this->js, $this->files, $this->folders, $this->id);

  }

  public function testBuild() {
    $this->assertEquals(null, $this->builder->build($this->collection));
  }

}

```
