コード例 #1
0
 private void AssertCanceledByBookmakerActionImage(long battleBetId, StatusActionImageViewModel statusActionImage)
 {
     AssertStatusActionImage(Bets.CanceledByBookmaker, "scr_3", MVC.NotAdmin.Bets.BetCanceledByBookmaker(battleBetId), statusActionImage);
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 private void AssertFailedStatusActionImage(long battleBetId, StatusActionImageViewModel statusActionImage)
 {
     AssertStatusActionImage(Bets.Failed, "scr_1", MVC.NotAdmin.Bets.BetFailed(battleBetId), statusActionImage);
 }