Class CookieWrapperTest.
More...
◆ setUpBeforeClass()
static ILIAS\HTTP\Cookies\CookieJarWrapperTest::setUpBeforeClass |
( |
| ) |
|
|
static |
Definition at line 35 of file CookieJarWrapperTest.php.
37 parent::setUpBeforeClass();
38 self::$cookieFactory =
new CookieFactoryImpl();
39 self::$cookieJarFactory =
new CookieJarFactoryImpl();
◆ testWithDoesNotChangeTheCurrentObject()
ILIAS\HTTP\Cookies\CookieJarWrapperTest::testWithDoesNotChangeTheCurrentObject |
( |
| ) |
|
Definition at line 46 of file CookieJarWrapperTest.php.
References $cookieName.
49 $cookieValue =
"MilkAndChocolate";
50 $cookie = self::$cookieFactory->create(
$cookieName, $cookieValue);
51 $cookieJar = self::$cookieJarFactory->fromCookieStrings([]);
53 $newCookieJar = $cookieJar->with($cookie);
58 $this->assertNotEquals($cookieJar, $newCookieJar);
◆ testWithoutDoesNotChangeTheCurrentObject()
ILIAS\HTTP\Cookies\CookieJarWrapperTest::testWithoutDoesNotChangeTheCurrentObject |
( |
| ) |
|
Definition at line 65 of file CookieJarWrapperTest.php.
References $cookieName.
68 $cookieValue =
"MilkAndChocolate";
71 $cookieJar = self::$cookieJarFactory->fromCookieStrings([
$cookieName .
'=' . $cookieValue .
';' ]);
80 $this->assertFalse($newCookieJar->has(
$cookieName));
83 $this->assertNotEquals($cookieJar, $newCookieJar);
◆ $cookieFactory
CookieFactory ILIAS\HTTP\Cookies\CookieJarWrapperTest::$cookieFactory |
|
staticprivate |
◆ $cookieJarFactory
The documentation for this class was generated from the following file: