Example #1
0
        public void AddRsvp_CorrectData_CallingEntityWrapperAddRsvpItem()
        {
            // setup
            var rsvp = new RSVP {
                Name = "Mister Test", Email = "*****@*****.**"
            };

            // action
            _postHelper.AddRsvp(rsvp);

            // assert
            _entityWrapper.Received().AddRsvpItem(Arg.Any <RSVP>());
        }