mirror of
https://github.com/Icinga/icinga-php-thirdparty.git
synced 2025-07-08 22:34:34 +02:00
23 lines
475 B
PHP
23 lines
475 B
PHP
<?php
|
|
|
|
use Clue\Redis\Protocol\Serializer\RecursiveSerializer;
|
|
|
|
abstract class AbstractModelTest extends TestCase
|
|
{
|
|
protected $serializer;
|
|
|
|
abstract protected function createModel($value);
|
|
|
|
public function setUp()
|
|
{
|
|
$this->serializer = new RecursiveSerializer();
|
|
}
|
|
|
|
public function testConstructor()
|
|
{
|
|
$model = $this->createModel(null);
|
|
|
|
$this->assertInstanceOf('Clue\Redis\Protocol\Model\ModelInterface', $model);
|
|
}
|
|
}
|