summaryrefslogtreecommitdiffstats
path: root/Tests/Core/Util/StringTest.php
blob: fe4eae4f7065237368eece95df021252349a6e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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'));
    }
}