summaryrefslogtreecommitdiffstats
path: root/Tests/Core/Util/StringTest.php
blob: e5f8160d3f1e5b4bf30e80e6aff09ab07fee254c (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\StringUtils;

class StringTest extends \PHPUnit_Framework_TestCase
{
    public function testEquals()
    {
        $this->assertTrue(StringUtils::equals('password', 'password'));
        $this->assertFalse(StringUtils::equals('password', 'foo'));
    }
}