/**
  * Test JComponentRouterViewconfiguration::removeLayout
  *
  * @return  void
  *
  * @since   3.4
  * @covers  JComponentRouterViewconfiguration::removeLayout
  */
 public function testRemoveLayout()
 {
     $this->assertEquals(array('default'), $this->object->layouts);
     $this->object->addLayout('form');
     $this->assertEquals($this->object, $this->object->removeLayout('default'));
     $this->assertEquals(array(1 => 'form'), $this->object->layouts);
     $this->assertEquals($this->object, $this->object->removeLayout('fake'));
     $this->assertEquals(array(1 => 'form'), $this->object->layouts);
     $this->object->removeLayout('form');
     $this->assertEquals(array(), $this->object->layouts);
 }