private Can_Delete_Own_Participation ( ) : void | ||
return | void |
public void Can_Delete_Own_Participation()
{
//Arrange
//Act
JsonResult result = controller.Delete(participant);
//Assert
Assert.AreEqual(true, result.Data);
mock.Verify(m => m.DeleteParticipant(participant), Times.Once());
}