コード例 #1
0
        public async Task Read_EverythingOk_ReturnsReply()
        {
            var reply = new Reply();

            A.CallTo(() => ReplyRepository.Read(1)).Returns(reply);

            var response = await ReplyService.Read(1);

            Assert.Equal(reply, response);
        }