1<?php
2
3namespace Sabre\DAV\Exception;
4
5class PaymentRequiredTest extends \PHPUnit_Framework_TestCase {
6
7    function testGetHTTPCode() {
8
9        $ex = new PaymentRequired();
10        $this->assertEquals(402, $ex->getHTTPCode());
11
12    }
13
14}
15