| 1 |
<?php |
| 2 |
|
| 3 |
namespace ResponsiveMenu\View; |
| 4 |
use PHPUnit\Framework\Testcase; |
| 5 |
|
| 6 |
class FrontViewTest extends TestCase { |
| 7 |
|
| 8 |
public function setUp() { |
| 9 |
$this->js_factory = $this->createMock('ResponsiveMenu\Factories\JsFactory'); |
| 10 |
$this->css_factory = $this->createMock('ResponsiveMenu\Factories\CssFactory'); |
| 11 |
} |
| 12 |
|
| 13 |
public function testSetup() { |
| 14 |
$front_view = new FrontView($this->js_factory, $this->css_factory); |
| 15 |
$this->assertInstanceOf('ResponsiveMenu\View\FrontView', $front_view); |
| 16 |
} |
| 17 |
|
| 18 |
} |
| 19 |
|