コード例 #1
0
        public void GetProcessingRequest_Should_Return_ProcessingRequest()
        {
            _mockQueue.Setup(m => m.GetMessage(It.IsAny <string>()))
            .ReturnsUsingFixture(_fixture);
            _mockRequestSerializer.Setup(m => m.Deserialize(It.IsAny <byte[]>()))
            .ReturnsUsingFixture(_fixture);

            var request = _sut.GetProcessingRequest("test");

            Assert.IsNotNull(request);
        }