public static function PHPUnit_Framework_Assert::logicalAnd

Returns a PHPUnit_Framework_Constraint_And matcher object.

@since Method available since Release 3.0.0

Return value

PHPUnit_Framework_Constraint_And

2 calls to PHPUnit_Framework_Assert::logicalAnd()
Framework_AssertTest::testAssertThatAnythingAndAnything in drupal/core/vendor/phpunit/phpunit/Tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertThat @covers PHPUnit_Framework_Assert::anything @covers PHPUnit_Framework_Assert::logicalAnd
Framework_Assert_FunctionsTest::testLogicalAnd in drupal/core/vendor/phpunit/phpunit/Tests/Framework/Assert/FunctionsTest.php

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php, line 2299

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function logicalAnd() {
  $constraints = func_get_args();
  $constraint = new PHPUnit_Framework_Constraint_And();
  $constraint
    ->setConstraints($constraints);
  return $constraint;
}