1616
1717namespace GrahamCampbell \Tests \Navigation ;
1818
19- use Mockery ;
20- use ReflectionClass ;
21- use Illuminate \Http \Request ;
2219use GrahamCampbell \Navigation \Navigation ;
2320use GrahamCampbell \TestBench \AbstractTestCase as AbstractTestBenchTestCase ;
21+ use Illuminate \Http \Request ;
22+ use Mockery ;
23+ use ReflectionClass ;
2424
2525/**
2626 * This is the navigation class test class.
@@ -53,7 +53,7 @@ public function testMainDefault()
5353 $ expected = array (
5454 array ('title ' => 'Next ' , 'active ' => true , 'url ' => 'http://laravel.com/next ' ),
5555 array ('title ' => 'Test ' , 'active ' => false , 'url ' => 'http://laravel.com/test ' ),
56- array ('title ' => 'Laravel ' , 'url ' => 'http://laravel.com/url ' , 'active ' => false )
56+ array ('title ' => 'Laravel ' , 'url ' => 'http://laravel.com/url ' , 'active ' => false ),
5757 );
5858
5959 $ this ->assertSame ($ expected , $ return );
@@ -81,7 +81,7 @@ public function testMainOther()
8181 $ expected = array (
8282 array ('title ' => 'Next ' , 'active ' => true , 'url ' => 'http://laravel.com/next ' ),
8383 array ('title ' => 'Test ' , 'active ' => false , 'url ' => 'http://laravel.com/test ' ),
84- array ('title ' => 'Laravel ' , 'url ' => 'http://laravel.com/url ' , 'active ' => false )
84+ array ('title ' => 'Laravel ' , 'url ' => 'http://laravel.com/url ' , 'active ' => false ),
8585 );
8686
8787 $ this ->assertSame ($ expected , $ return );
@@ -120,7 +120,7 @@ public function testBarDefault()
120120 $ expected = array (
121121 array ('title ' => 'Next ' , 'url ' => 'http://laravel.com/next ' ),
122122 array ('title ' => 'Test ' , 'url ' => 'http://laravel.com/test ' ),
123- array ('title ' => 'Laravel ' , 'url ' => 'http://laravel.com/url ' )
123+ array ('title ' => 'Laravel ' , 'url ' => 'http://laravel.com/url ' ),
124124 );
125125
126126 $ this ->assertSame ($ expected , $ return );
@@ -145,7 +145,7 @@ public function testBarOther()
145145 $ expected = array (
146146 array ('title ' => 'Next ' , 'url ' => 'http://laravel.com/next ' ),
147147 array ('title ' => 'Test ' , 'url ' => 'http://laravel.com/test ' ),
148- array ('title ' => 'Laravel ' , 'url ' => 'http://laravel.com/url ' )
148+ array ('title ' => 'Laravel ' , 'url ' => 'http://laravel.com/url ' ),
149149 );
150150
151151 $ this ->assertSame ($ expected , $ return );
@@ -195,7 +195,7 @@ public function testGetHTMLNoBar()
195195 'side ' => 'dropdown ' ,
196196 'inverse ' => true ,
197197 'main ' => array (array ('title ' => 'Test ' , 'url ' => 'http://laravel.com/test ' )),
198- 'bar ' => false
198+ 'bar ' => false ,
199199 );
200200
201201 $ navigation ->getView ()->shouldReceive ('make ' )->once ()
@@ -220,7 +220,7 @@ public function testGetHTMLEmptyBar()
220220 'side ' => 'dropdown ' ,
221221 'inverse ' => true ,
222222 'main ' => array (array ('title ' => 'Test ' , 'url ' => 'http://laravel.com/test ' )),
223- 'bar ' => array ()
223+ 'bar ' => array (),
224224 );
225225
226226 $ navigation ->getView ()->shouldReceive ('make ' )->once ()
@@ -246,7 +246,7 @@ public function testGetHTMLWithBar()
246246 'side ' => 'dropdown ' ,
247247 'inverse ' => true ,
248248 'main ' => array (array ('title ' => 'Test ' , 'url ' => 'http://laravel.com/test ' )),
249- 'bar ' => array (array ('title ' => 'Test ' , 'url ' => 'http://laravel.com/test ' ))
249+ 'bar ' => array (array ('title ' => 'Test ' , 'url ' => 'http://laravel.com/test ' )),
250250 );
251251
252252 $ navigation ->getView ()->shouldReceive ('make ' )->once ()
0 commit comments