public void ReturnsFriendlyInfo() { var entity = new Affiliation { Person = new Person { DisplayName = "display name", }, Establishment = new Establishment { OfficialName = "official name", }, }; var result = entity.ToString(); result.ShouldEqual(string.Format("{0} - {1}", entity.Person.DisplayName, entity.Establishment.OfficialName)); }