You are here

AcsfMessageUnitTestFailureException.inc in Acquia Cloud Site Factory Connector 8

Same filename and directory in other branches
  1. 8.2 tests/AcsfMessageUnitTestFailureException.inc

File

tests/AcsfMessageUnitTestFailureException.inc
View source
<?php

use Drupal\acsf\AcsfMessage;
use Drupal\acsf\AcsfMessageFailureException;

/**
 * AcsfMessageUnitTestFailureException.
 */
class AcsfMessageUnitTestFailureException extends AcsfMessage {

  /**
   * Implements AcsfMessage::sendMessage().
   */
  protected function sendMessage($url, $method, $endpoint, array $parameters, $username, $password) {
    throw new AcsfMessageFailureException('error message');
  }

}

Classes

Namesort descending Description
AcsfMessageUnitTestFailureException AcsfMessageUnitTestFailureException.