public void Employee_SmokeTest() { var newEmployee = new Domain.Employee("Ivan"); var contact = Contact.Create(ContactType.Skype, "live:nickname"); newEmployee.AddContact(contact.Value); dbContext.Employees.Add(newEmployee); dbContext.SaveChanges(); var queriedEmployee = dbContext.Employees.Single(employee => employee.Id == newEmployee.Id); Assert.IsNotNull(queriedEmployee); dbContext.Remove(newEmployee); dbContext.SaveChanges(); }