public async Task TestEventMemberER_NewEventMemberER()
        {
            var eventDocumentObj = await EventMemberER.NewEventMemberER();

            Assert.NotNull(eventDocumentObj);
            Assert.IsType <EventMemberER>(eventDocumentObj);
            Assert.False(eventDocumentObj.IsValid);
        }
        private async Task <EventMemberER> BuildEventMember()
        {
            var eventDocumentObj = await EventMemberER.NewEventMemberER();

            eventDocumentObj.Event = await EventEC.GetEventEC(new Event()
            {
                Id = 1
            });

            eventDocumentObj.MemberInfo = await MemberInfoEC.GetMemberInfoEC(new MemberInfo()
            {
                Id = 1
            });

            eventDocumentObj.Role            = "Organizer";
            eventDocumentObj.LastUpdatedBy   = "edm";
            eventDocumentObj.LastUpdatedDate = DateTime.Now;
            eventDocumentObj.Notes           = "notes for doctype";

            return(eventDocumentObj);
        }