public void ShouldDisplayRightInfo() { var e = eventSupport.OpenEventDetails(new TestEvent { Name = "Event Name", StartDate = "01-09-2013", Description = "Description", Bros = { "Копыч", "Даша" } }); Browser.ClickButton("Edit"); Assert.AreEqual(e.Name, Browser.FindField("Name").Value); Assert.AreEqual(e.StartDate, Browser.FindField("StartDate").Value); Assert.AreEqual(e.Description, Browser.FindField("Description").Value); Assert.True(eventSupport.GetActiveBroCheckboxes().All(c => e.Bros.Any(b => b == c.Text))); }