public function testCreate()
{
$title = "My Modal";
$id = "myModalId";
// Test standard create with title
$result = $this->Panel->create($title);
$this->assertHtml([['div' => ['class' => 'panel panel-default']], ['div' => ['class' => 'panel-heading']], ['h4' => ['class' => 'panel-title']], $title, '/h4', '/div', ['div' => ['class' => 'panel-body']]], $result);
$this->reset();
// Test standard create with title
$result = $this->Panel->create($title, ['no-body' => true]);
$this->assertHtml([['div' => ['class' => 'panel panel-default']], ['div' => ['class' => 'panel-heading']], ['h4' => ['class' => 'panel-title']], $title, '/h4', '/div'], $result);
$this->reset();
// Test standard create without title
$result = $this->Panel->create();
$this->assertHtml([['div' => ['class' => 'panel panel-default']]], $result);
$this->reset();
}