public function testNormalizesGluedHeaders() { $h = new Header('Zoo', array('foo, Faz', 'bar')); $result = $h->normalize(true)->toArray(); natsort($result); $this->assertEquals(array('bar', 'foo', 'Faz'), $result); }
public function testNormalizesCases() { $h = new Header('Zoo', $this->test); $h->normalize(); $this->assertEquals(array('Zoo' => array('foo', 'Foo', 'bar')), $h->raw()); }