mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-06-16 14:14:35 +02:00
fixed coding style issues
This commit is contained in:
@ -10,10 +10,10 @@ class RegistryTest extends \PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
$key = Registry::LOGGER;
|
$key = Registry::LOGGER;
|
||||||
$object = new \StdClass();
|
$object = new \StdClass();
|
||||||
|
|
||||||
Registry::set($key, $object);
|
Registry::set($key, $object);
|
||||||
$actual = Registry::get($key);
|
$actual = Registry::get($key);
|
||||||
|
|
||||||
$this->assertEquals($object, $actual);
|
$this->assertEquals($object, $actual);
|
||||||
$this->assertInstanceOf('StdClass', $actual);
|
$this->assertInstanceOf('StdClass', $actual);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user