public static void AssertAuthor (Author expected, Author actual)
		{
			AssertNullOrNotNull (expected, actual);
			Assert.AreEqual (expected.Login, actual.Login);
			Assert.AreEqual (expected.FirstName, actual.FirstName);
			Assert.AreEqual (expected.LastName, actual.LastName);
		}
Example #2
0
		public Page (string primaryKey, int id, string title, string type, string status, DateTime modified, string excerpt, string content,
		                  string parentId, int order, string thumbnail, Author author, bool? autoTranslated,
		                  List<AvailableLanguage> availableLanguages)
		{
            PrimaryKey = primaryKey;
			Id = id;
			Title = title;
			Type = type;
			Status = status;
			Modified = modified;
			Description = excerpt;
			Content = content;
			Order = order;
			Thumbnail = thumbnail;
            ParentId = parentId;
			Author = author;
			AutoTranslated = autoTranslated;
			AvailableLanguages = availableLanguages;
		}