public function testGetParametersWithWrongUrl()
 {
     $this->setExpectedException('InvalidArgumentException');
     $permalink = new DatePermalink();
     $expected = array('year' => '2011', 'month' => '12', 'day' => '30', 'slug' => 'the-slug');
     $this->assertEquals($expected, $permalink->getParameters('2011/12/the-slug'));
 }