Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0253a23
commit 642ad26
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
/* | ||
* This file is part of Aplus Framework MVC Library. | ||
* | ||
* (c) Natan Felles <natanfelles@gmail.com> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
namespace Tests\MVC\Debug; | ||
|
||
use Framework\MVC\Debug\AppCollection; | ||
use PHPUnit\Framework\TestCase; | ||
|
||
final class AppCollectionTest extends TestCase | ||
{ | ||
protected AppCollection $collection; | ||
|
||
protected function setUp() : void | ||
{ | ||
$this->collection = new AppCollection('App'); | ||
} | ||
|
||
public function testIcon() : void | ||
{ | ||
self::assertStringStartsWith('<svg ', $this->collection->getIcon()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
/* | ||
* This file is part of Aplus Framework MVC Library. | ||
* | ||
* (c) Natan Felles <natanfelles@gmail.com> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
namespace Tests\MVC\Debug; | ||
|
||
use Framework\MVC\Debug\ViewsCollection; | ||
use PHPUnit\Framework\TestCase; | ||
|
||
final class ViewsCollectionTest extends TestCase | ||
{ | ||
protected ViewsCollection $collection; | ||
|
||
protected function setUp() : void | ||
{ | ||
$this->collection = new ViewsCollection('Views'); | ||
} | ||
|
||
public function testIcon() : void | ||
{ | ||
self::assertStringStartsWith('<svg ', $this->collection->getIcon()); | ||
} | ||
} |