/** @test */ public function it_can_attach_a_section_to_the_form() { $this->assertCount(0, $this->form); $this->form->attach(new Section('foo')); $this->form->attach(new Section('bar')); $this->form->attach(new Section('baz')); $this->form->attach(new Section('foo')); $this->form->attach(new Form('foo')); $this->assertCount(3, $this->form); }