public void Given_employee_When_AddEmergencyContacts_Then_employee_properties_should_be_correct() { //Given var employee = new Employee(); var contacts = new List<EmployeeEmergencyContactDetail>() { new EmployeeEmergencyContactDetail(), new EmployeeEmergencyContactDetail() }; //When employee.AddEmergencyContacts(contacts); //Then Assert.That(employee.EmergencyContactDetails.Count, Is.EqualTo(contacts.Count)); }