HttpUnitTestResult.hasCookie

Checks whether a cookie is present or not.

class HttpUnitTestResult
final
bool
hasCookie
(
string name
)

Parameters

name string

The name of the cookie.

Return Value

Type: bool

True if the cookie is present, false otherwise.

Meta