public void shouldAddNeighbors() { try { AddNeighborsResponse res = iotaApi.AddNeighbors("udp://8.8.8.8:14265"); Assert.IsNotNull(res); } catch (IotaApiException e) { Assert.IsTrue(e.Message.Contains("not available on this node")); } }
public void shouldAddNeighbors() { try { AddNeighborsResponse res = iotaApi.AddNeighbors("udp://8.8.8.8:14265"); Assert.IsNotNull(res); } catch (IotaApiException e) { Assert.IsTrue(e.Message.Contains("not available on this node")); } }