You are here

public function AcsfMessageResponseUnitTest::failed in Acquia Cloud Site Factory Connector 8

Same name and namespace in other branches
  1. 8.2 tests/AcsfMessageResponseUnitTest.inc \AcsfMessageResponseUnitTest::failed()

Determines whether the test failed.

Return value

bool Whether the test failed.

Overrides AcsfMessageResponse::failed

File

tests/AcsfMessageResponseUnitTest.inc, line 16

Class

AcsfMessageResponseUnitTest
This simple interface defines the way that responses are constructed.

Code

public function failed() {
  if ($this->code) {
    return TRUE;
  }
  return FALSE;
}