1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29:
<?php
namespace Nethgui\Test\Unit\Nethgui\Log;
class NullogTest extends \PHPUnit_Framework_TestCase
{
protected $object;
protected function setUp()
{
$this->object = new \Nethgui\Log\Nullog;
}
public function testNullog()
{
$this->assertSame($this->object, $this->object->notice('Nothing to test?'));
$this->assertSame($this->object, $this->object->warning('Nothing to test?'));
$this->assertSame($this->object, $this->object->error('Nothing to test?'));
}
}