CapRaffle.UnitTests.ParticipantControllerTests.Creator_can_delete_other_participants C# (CSharp) Method

Creator_can_delete_other_participants() private method

private Creator_can_delete_other_participants ( ) : void
return 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());
        }