Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
GuzzleHttp
Tests
Psr7
UriTest
testParseUriPortCannotBeZero
GuzzleHttp\Tests\Psr7\UriTest::testParseUriPortCannotBeZero PHP Method
UriTest Class Documentation
Show file
Open project: nystudio107/instantanalytics
testParseUriPortCannotBeZero()
public
method
public
testParseUriPortCannotBeZero
( )
public function testParseUriPortCannotBeZero() { new Uri('//example.com:0'); }
UriTest
getInvalidUris
getPortTestCases
getValidUris
testAddAndRemoveQueryValues
testAllowsForRelativeUri
testAuthorityWithUserInfoOrPortButWithoutHost
testCanConstructFalseyUriParts
testCanParseFalseyUriParts
testCanTransformAndRetrievePartsIndividually
testDefaultReturnValuesOfGetters
testExtendingClassesInstantiates
testFileSchemeWithEmptyHostReconstruction
testFragmentMustHaveCorrectType
testFromParts
testHostInHttpUriDefaultsToLocalhost
testHostInHttpsUriDefaultsToLocalhost
testHostIsNormalizedToLowercase
testHostMustHaveCorrectType
testImmutability
testInvalidUrisThrowException
testIsAbsolute
testIsAbsolutePathReference
testIsDefaultPort
testIsNetworkPathReference
testIsRelativePathReference
testIsSameDocumentReference
testParseUriPortCannotBeZero
testParsesProvidedUri
testPathMustHaveCorrectType
testPathStartingWithTwoSlashes
testPathStartingWithTwoSlashesAndNoAuthorityIsInvalid
testPortCanBeRemoved
testPortIsNullIfStandardPortForScheme
testPortIsReturnedIfSchemeUnknown
testPortMustBeValid
testPortPassedAsStringIsCastedToInt
testQueryMustHaveCorrectType
testRelativePathAndAuhorityIsInvalid
testRelativeUriWithPathBeginngWithColonSegmentIsInvalid
testRelativeUriWithPathHavingColonSegment
testRemoveNonExistingQueryValue
testSchemeIsNormalizedToLowercase
testSchemeMustHaveCorrectType
testStandardPortIsNullIfSchemeChanges
testUriComponentsGetEncodedProperly
testValidUrisStayValid
testWithFragmentEncodesProperly
testWithPathEncodesProperly
testWithPortCannotBeZero
testWithQueryEncodesProperly
testWithQueryValueHandlesEncoding
testWithQueryValueReplacesSameKeys
testWithoutQueryValueHandlesEncoding
testWithoutQueryValueRemovesAllSameKeys
uriComponentsEncodingProvider