Ejemplo n.º 1
0
        public async Task GetDetailsAsync_ValidId_DefaultApiKey_ReturnsValidResult(int id)
        {
            INetworksApi apiUnderTest = new NetworksApi(_clientWithApiKey);

            Network result = await apiUnderTest.GetDetailsAsync(id);

            Assert.IsNotNull(result);
            Assert.AreEqual(id, result.Id);
        }
Ejemplo n.º 2
0
 public void Init()
 {
     instance = new NetworksApi();
 }