public void VerifyThatIndexOfReturnsTheExpectpedIndex()
{
this.testList = new OrderedItemList<Thing>(this.person, true);
var email_0 = new EmailAddress(Guid.NewGuid(), null, null);
var email_1 = new EmailAddress(Guid.NewGuid(), null, null);
var email_2 = new EmailAddress(Guid.NewGuid(), null, null);
var email_notcontained = new EmailAddress(Guid.NewGuid(), null, null);
this.testList.Add(email_0);
this.testList.Add(email_1);
this.testList.Add(email_2);
Assert.AreEqual(0, this.testList.IndexOf(email_0));
Assert.AreEqual(1, this.testList.IndexOf(email_1));
Assert.AreEqual(2, this.testList.IndexOf(email_2));
Assert.AreEqual(-1, this.testList.IndexOf(email_notcontained));
}