예제 #1
0
        public void GetParticipatesByProjectId_will_return_participates_in_this_project()
        {
            //Arrange
            var projectId = 1;
            //Act
            var result = _inviteController.GetParticipatesByProjectId(projectId);

            //Assert
            _inviteLogicMock.Verify(x => x.GetParticipatesByProjectId(It.IsAny <int>()), Times.Once);
            Assert.IsEmpty(result);
        }