mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-07 23:46:52 +02:00
Applied fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
3663603b80
commit
fe1f144ec3
@@ -5,11 +5,10 @@ namespace DesignPatterns\Creational\Singleton\Tests;
|
||||
use DesignPatterns\Creational\Singleton\Singleton;
|
||||
|
||||
/**
|
||||
* SingletonTest tests the singleton pattern
|
||||
* SingletonTest tests the singleton pattern.
|
||||
*/
|
||||
class SingletonTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
public function testUniqueness()
|
||||
{
|
||||
$firstCall = Singleton::getInstance();
|
||||
@@ -29,6 +28,7 @@ class SingletonTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* @expectedException \DesignPatterns\Creational\Singleton\SingletonPatternViolationException
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testNoCloneAllowed()
|
||||
@@ -39,6 +39,7 @@ class SingletonTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
/**
|
||||
* @expectedException \DesignPatterns\Creational\Singleton\SingletonPatternViolationException
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testNoSerializationAllowed()
|
||||
|
Reference in New Issue
Block a user