tests/Assertions/AssertStatusCodeTest.php
/**
     * Test assert with invalid status code.
     */
Test assert with invalid status code.
Test assert with invalid status code .
public function testAssertWithInvalidStatusCode()
    {
        self::expectException(InvalidParameterException::class);
        self::expectExceptionMessage('Status code 0 must be in range 100-599');
        new AssertStatusCode(new FileLocation(FilePath::parse('/tmp/tests'), 10), 0, new Modifiers());
    }
public function testAssertWithInvalidStatusCode ( ) { self :: expectException ( InvalidParameterException :: class ) ; self :: expectExceptionMessage ( 'Status code 0 must be in range 100-599' ) ; new AssertStatusCode ( new FileLocation ( FilePath :: parse ( '/tmp/tests' ) , 10 ) , 0 , new Modifiers ( ) ) ; }
Test assert with invalid status code.
Test assert with invalid status code .