public void Add_New_Email_With_ID_Eq_1() { // A-A-A // Arrange var emails_data = new EmailsDataInMemory(); var email = new Email(); var expected_id = 1; var expected_count = 1; // Act emails_data.Add(email); var db_email = emails_data.GetById(1); var actual_id = db_email.Id; var actual_count = emails_data.GetAll().Count(); // Assert Assert.AreEqual(expected_id, actual_id); Assert.AreEqual(expected_count, actual_count); //StringAssert. //CollectionAssert. }
public void Creation() { var emails_data = new EmailsDataInMemory(); }