public function testCreatesFromArray() { $jar = CookieJar::fromArray(['foo' => 'bar', 'baz' => 'bam'], 'example.com'); $this->assertCount(2, $jar); }