You are here

public function RulesConditionalTestCase::testEvaluate in Conditional Rules 7

Same name and namespace in other branches
  1. 8 tests/rules_conditional.test \RulesConditionalTestCase::testEvaluate()

Tests evaluation.

File

tests/rules_conditional.test, line 326
SimpleTest testing suites.

Class

RulesConditionalTestCase
Default if-else tests.

Code

public function testEvaluate() {

  // Create test objects.
  $comp = $this
    ->createTestComponent();
  $this
    ->assert($this
    ->doTestEvaluate($comp), 'Conditional correctly evaluates.');
}