Tests.VoiceTests.GetAllAgentAvailabilityAsync C# (CSharp) Method

GetAllAgentAvailabilityAsync() private method

private GetAllAgentAvailabilityAsync ( ) : void
return void
        public void GetAllAgentAvailabilityAsync()
        {
            var res = api.Voice.GetVoiceAgentActivityAsync();

            var agent = res.Result.AgentActivity.FirstOrDefault();
            Assert.NotNull(agent);
            Assert.AreEqual(2110053086, agent.AgentId);
        }