Exemplo n.º 1
0
        public void CanAddTeamMembers()
        {
            // arrange
            var emails = new[] { "email", "email2" };
            var adder  = 1;

            // act
            _service.AddMembersByEmail(adder, _team.Id, emails);

            // assert
            _teamCommands.Verify(x => x.AddUsersToTeam(_team.Id, emails), Times.Once);
        }