private void AssertCanceledByBookmakerActionImage(long battleBetId, StatusActionImageViewModel statusActionImage) { AssertStatusActionImage(Bets.CanceledByBookmaker, "scr_3", MVC.NotAdmin.Bets.BetCanceledByBookmaker(battleBetId), statusActionImage); }
private void AssertStatusActionImage(string title, string imageClass, ActionResult actionResult, StatusActionImageViewModel statusActionImage) { Assert.AreEqual(title, statusActionImage.Title); Assert.AreEqual(imageClass, statusActionImage.ImageClass); Assert.AreEqual(actionResult, statusActionImage.ActionResult); }
private void AssertFailedStatusActionImage(long battleBetId, StatusActionImageViewModel statusActionImage) { AssertStatusActionImage(Bets.Failed, "scr_1", MVC.NotAdmin.Bets.BetFailed(battleBetId), statusActionImage); }