Exemplo n.º 1
0
            public async void ReturnsCorrectStatus([Frozen] ITmNative native, TmsApi tms,
                                                   short ch, short rtu, short point,
                                                   short expected)
            {
                A.CallTo(() => native.TmcStatus(A <int> ._, ch, rtu, point))
                .Returns(expected);

                var result = await tms.GetStatus(ch, rtu, point);

                result.Should().Be(expected);
            }