public function testBasicButton() { $result = $this->Form->button('Submit'); $expected = ['button' => ['class' => 'btn btn-default', 'type' => 'submit'], 'Submit', '/button']; $this->assertHtml($expected, $result); }