Skip to content

Commit

Permalink
Test HTTP Collection
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Mar 18, 2024
1 parent d4cdc8b commit 357193d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tests/Debug/HTTPCollectionTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php
/*
* This file is part of Aplus Framework HTTP 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\HTTP\Debug;

use Framework\HTTP\Debug\HTTPCollection;
use PHPUnit\Framework\TestCase;

final class HTTPCollectionTest extends TestCase
{
protected HTTPCollection $collection;

protected function setUp() : void
{
$this->collection = new HTTPCollection('HTTP');
}

public function testIcon() : void
{
self::assertStringStartsWith('<svg ', $this->collection->getIcon());
}
}

0 comments on commit 357193d

Please sign in to comment.