CapRaffle.UnitTests.ParticipantControllerTests.Creator_can_delete_other_participants C# (CSharp) Méthode

Creator_can_delete_other_participants() private méthode

private Creator_can_delete_other_participants ( ) : void
Résultat void
        public void Creator_can_delete_other_participants()
        {
            participant.UserEmail = "[email protected]";
            participant.EventId = 3;

            JsonResult result = controller.Delete(participant);

            Assert.AreEqual(true, result.Data);
            mock.Verify(m => m.DeleteParticipant(participant), Times.Once());
        }