public void deveria_trazer_o_primeiro_usuario()
 {
     BD bd = new BD();
     SqlDataReader reader = bd.Reader("select top  1 * from usuario");
     if (reader.Read())
     {
         String nome = reader["nm_nome"].ToString();
         Assert.AreEqual("Jesus", nome);
     }
 }
 public void deveria_validar_connection_string()
 {
     BD bd = new BD();
     Assert.AreEqual(1, bd.DataTable("select * from usuario").Rows.Count);
 }
 public void deveria_retornar_um_data_reader()
 {
     BD bd = new BD();
     SqlDataReader reader = bd.Reader("select * from usuario");
     Assert.IsNotNull(reader);
 }
 public void deveria_ter_comand()
 {
     BD bd = new BD();
     Assert.IsNotNull(bd.Comand);
 }
 public void deveria_instanciar()
 {
     BD bd = new BD();
     Assert.IsNotNull(bd);
 }