public function insert(SiglaTempo $siglaTempo)
 {
     $stm = $this->pdo->prepare('INSERT INTO siglatempo(
             sigla,
             descricao
         ) VALUES (
             :sigla,
             :descricao
         );');
     $stm->bindValue(':sigla', $siglaTempo->getSigla(), PDO::PARAM_STR);
     $stm->bindValue(':descricao', $siglaTempo->getDescricao(), PDO::PARAM_STR);
     if ($stm->execute()) {
         return (int) $this->pdo->lastInsertId();
     }
     throw new \RuntimeException('Falha ao inserir');
 }
 public function testDefinindoASiglaERetornaExatamenteValorODefinido()
 {
     $intancia = new SiglaTempo();
     $intancia->setSigla("sigla");
     $this->assertEquals("sigla", $intancia->getSigla());
 }