/**
  * @expectedException DomainException
  * @expectedExceptionMessage The "home" entry already exists.
  */
 public function test_inserting_an_entry_with_an_existing_name_after()
 {
     $menu = new MenuBuilder();
     $menu->insert('home');
     $menu->insertAfter('home', 'home');
 }