Initial commit with tests, and stuff.

This commit is contained in:
2018-06-08 13:02:36 +03:00
commit e8fdb5109d
18 changed files with 1181 additions and 0 deletions

26
tests/ArrayTraitTest.php Normal file
View File

@@ -0,0 +1,26 @@
<?php
namespace ivuorinen\BBCode\Tests;
use ArrayTraitHelper;
use TestCase;
class ArrayTraitTest extends TestCase
{
private $class;
public function setUp()
{
$this->class = new ArrayTraitHelper();
}
public function test_array_only()
{
$this->assertTrue(\method_exists($this->class, 'arrayOnly'));
}
public function test_array_except()
{
$this->assertTrue(\method_exists($this->class, 'arrayExcept'));
}
}