public void InitializeThenGetClientReturnsClient() { var graphStore = new GraphStore("http://localhost:7474/"); graphStore.Initialize(); var client = graphStore.GetClient(); Assert.That(client, Is.InstanceOf <NeoClient>()); }
public void CallingGetClientBeforeInitializeThrowsInvalidOperationException() { var graphStore = new GraphStore("http://localhost:7474/"); Assert.Throws <InvalidOperationException>(() => graphStore.GetClient()); }