ASP.NET MVCã§ãã¹ããæ¸ãéã«èãããã¨ã®ã¡ã¢ ããããã®ããã±ã¼ã¸ Moq ãã¹ãã®ããã®ããã¼ãªãã¸ã§ã¯ããä½æããããã±ã¼ã¸ã ç°¡åãªä½¿ãæ¹ var mock = new Mock<IHelloModel>(); mock.Setup(x => x.Hello()).Returns("test return"); IHelloModel hello = mock.object;
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}