public function AcsfMessageTest::testAcsfMessageResponseMissingEndpoint in Acquia Cloud Site Factory Connector 8
Same name and namespace in other branches
- 8.2 tests/AcsfMessageTest.php \AcsfMessageTest::testAcsfMessageResponseMissingEndpoint()
Tests that an exception is throw when endpoint is missing.
File
- tests/
AcsfMessageTest.php, line 87 - Provides PHPUnit tests for AcsfMessage.
Class
- AcsfMessageTest
- AcsfMessageTest.
Code
public function testAcsfMessageResponseMissingEndpoint() {
$config = new AcsfConfigUnitTest('unit_test_site', 'unit_test_env');
$this
->expectException(AcsfMessageMalformedResponseException::class);
$message = new AcsfMessageUnitTestMissingEndpoint('TEST', 'unit_test_endpoint', [], $config);
$message
->send();
}