public void AddChildToRegister() { Child suzie = new Child(); suzie.FirstName = "Laura"; suzie.LastName = "McDonald"; suzie.Address = "123 Main St. USA"; ChildRegister childRegister = new ChildRegister(); childRegister.AddChild(suzie); Assert.Contains(suzie, childRegister.GetRegister()); }
public void AddChildToRegister() { Child suzie = new Child() { FirstName = "Suzie", LastName = "McDonell", Address = "346 Underdog Way" }; ChildRegister childRegister = new ChildRegister(); childRegister.AddChild(suzie); Assert.Contains(suzie, childRegister.GetRegister()); }
public void AddChildToRegister() { Child dude = new Child(); dude.FirstName = "Dude"; dude.LastName = "El Duderino"; dude.Address = "Passadena"; ChildRegister childRegister = new ChildRegister(); childRegister.AddChild(dude); Assert.Contains(dude, childRegister.GetRegister()); }