public async Task Ikusnet_GetLineStatus() { var codecApi = new IkusNetApi(new ProdysSocketPool()); var lineStatus = await codecApi.GetLineStatusAsync(CodecInformation.Ip); Assert.NotNull(lineStatus); }
public async Task GetLineStatus() { var sut = new IkusNetApi(new ProdysSocketPool()); LineStatus lineStatus = await sut.GetLineStatusAsync(CodecInformation.Ip); Assert.Equal(LineStatusCode.NoPhysicalLine, lineStatus.StatusCode); Assert.Equal(DisconnectReason.None, lineStatus.DisconnectReason); }