tao-test/app/vendor/jtl-software/opsgenie-client/tests/Alert/CloseAlertResponseTest.php

25 lines
496 B
PHP
Raw Normal View History

2022-08-29 20:14:13 +02:00
<?php
/**
* This File is part of JTL-Software
*
* User: rherrgesell
* Date: 11/23/18
*/
namespace JTL\OpsGenie\Client\Alert;
use PHPUnit\Framework\TestCase;
/**
* @covers \JTL\OpsGenie\Client\Alert\CloseAlertResponse
* @uses \JTL\OpsGenie\Client\OpsGenieResponse
*/
class CloseAlertResponseTest extends TestCase
{
public function testHttpCode202IsSuccessful()
{
$response = new CloseAlertResponse(202, []);
$this->assertTrue($response->isSuccessful());
}
}