diff options
Diffstat (limited to 'Tests/Core/Util/StringTest.php')
-rwxr-xr-x | Tests/Core/Util/StringTest.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/Core/Util/StringTest.php b/Tests/Core/Util/StringTest.php new file mode 100755 index 0000000..fe4eae4 --- /dev/null +++ b/Tests/Core/Util/StringTest.php @@ -0,0 +1,14 @@ +<?php + +namespace Symfony\Component\Security\Tests\Core\Util; + +use Symfony\Component\Security\Core\Util\String; + +class StringTest extends \PHPUnit_Framework_TestCase +{ + public function testEquals() + { + $this->assertTrue(String::equals('password', 'password')); + $this->assertFalse(String::equals('password', 'foo')); + } +} |