using System.Net; using GBase.Api.Communication; using GBase.Client; using GBase.Client.Factories; using GBase.Client.Interfaces; using Moq; using NUnit.Framework; namespace Test.GBase.Client { [TestFixture] public class Tests { [SetUp] public void Setup() { } [Test] public void CheckBasicConnectionWithServer() { Assert.Pass(); //Remove this assert if you want to run the test, not possible to with CI IGBaseClientSettings settings = new GBaseClientSettings(ServerProtocol.Http, IPAddress.Parse("127.0.0.1"), 8080, "/GBase", "/GBaseTable", "/GBaseEntry"); IGBaseClient client = new GBaseClient(settings, new Mock().Object, new Mock().Object, new Mock().Object); bool ret = client.GBase.AddTable(); Assert.True(ret); } } }