Exemplo n.º 1
0
 public function testFormEncapsulation()
 {
     $table = new Table();
     $form = new Form();
     $result = $table->setForm($form);
     $this->assertSame($table, $result);
     $result = $table->getForm();
     $this->assertSame($form, $result);
 }