public void TestMethod1() { Commune commune = new Commune() { Name = "El Bosque" }; Assert.AreEqual(commune.getIdByName(), 8); }
private int getCommuneIdByName() { Commune com = new Commune() { Name = ddlCommune.SelectedValue }; return(com.getIdByName()); }