25 lines
496 B
PHP
25 lines
496 B
PHP
<?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());
|
|
}
|
|
}
|