public function testGroupRemovingWithTabAndWithTabRemoving() { $this->formMapper->tab('mytab')->with('foobar'); $this->formMapper->removeGroup('foobar', 'mytab', true); $this->assertSame(array(), $this->admin->getFormGroups()); $this->assertSame(array(), $this->admin->getFormTabs()); }