Esempio n. 1
0
 public void DeleteProfile_ProfileNotFound_ExceptionThrown()
 {
     var person = new Person { Email = "*****@*****.**", Name = "Arlanet", ID = 15 };
     CopernicaHandler.Instance.Delete(person);
 }
Esempio n. 2
0
 public void DeleteProfile_CorrectValues_DeleteSuccess()
 {
     var person = new Person { Email = "*****@*****.**", Name = "Arlanet", ID = 14 };
     CopernicaHandler.Instance.Delete(person);
 }
Esempio n. 3
0
 public void DeleteProfile_IdIsEmpty_ExceptionThrown()
 {
     var person = new Person { Email = "*****@*****.**", Name = "Arlanet" };
     CopernicaHandler.Instance.Delete(person);
 }
Esempio n. 4
0
 public void CreateProfile_SimpleValues_InsertSuccess()
 {
     var person = new Person { Email = "*****@*****.**", Name = "Arlanet", ID = 14 };
     CopernicaHandler.Instance.Add(person);
 }