mirror of
https://github.com/ivuorinen/bbcodeparser.git
synced 2026-01-26 03:13:57 +00:00
24 lines
452 B
PHP
24 lines
452 B
PHP
<?php
|
|
|
|
namespace ivuorinen\BBCode\Tests;
|
|
|
|
class ArrayTraitTest extends TestCase
|
|
{
|
|
private $class;
|
|
|
|
public function setUp(): void
|
|
{
|
|
$this->class = new ArrayTraitHelper();
|
|
}
|
|
|
|
public function testArrayOnly(): void
|
|
{
|
|
$this->assertTrue(\method_exists($this->class, 'arrayOnly'));
|
|
}
|
|
|
|
public function testArrayExcept(): void
|
|
{
|
|
$this->assertTrue(\method_exists($this->class, 'arrayExcept'));
|
|
}
|
|
}
|