public function Framework_Assert_FunctionsTest::testLogicalAnd

File

drupal/core/vendor/phpunit/phpunit/Tests/Framework/Assert/FunctionsTest.php, line 60

Class

Framework_Assert_FunctionsTest
@package PHPUnit @author Kuzuha SHINODA <kuzuha01@hotmail.com> @copyright 2013-2013 Kuzuha SHINODA <kuzuha01@hotmail.com> @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License @link …

Code

public function testLogicalAnd() {
  $expected = $this
    ->logicalAnd($this
    ->isTrue(), $this
    ->isFalse());
  $actual = logicalAnd($this
    ->isTrue(), $this
    ->isFalse());
  $this
    ->assertSame($expected
    ->toString(), $actual
    ->toString());
}