public function testCreateNewTemplate() { $id = $this->templateMapper->insert($this->template); $this->assertNotNull($id); $this->template->setId($id); }