public async Task GetVertexCollectionsAsync_ShouldSucceed() { // Create an edge collection string edgeClx = nameof(GetGraphsAsync_ShouldSucceed) + "_EdgeClx"; var createClxResponse = await _fixture.ArangoDBClient.Collection.PostCollectionAsync( new PostCollectionBody() { Name = edgeClx, Type = 3 }); Assert.Equal(edgeClx, createClxResponse.Name); // Create a Graph string graphName = nameof(GetVertexCollectionsAsync_ShouldSucceed); PostGraphResponse createGraphResponse = await _client.PostGraph(new PostGraphBody() { Name = graphName, EdgeDefinitions = new List <EdgeDefinition>() { new EdgeDefinition() { Collection = edgeClx, From = new string[] { "FromCollection" }, To = new string[] { "ToCollection" } } } }); // List the vertex collections GetVertexCollectionsResponse response = await _client.GetVertexCollections(graphName); Assert.Equal(2, response.Collections.Count()); Assert.Contains("FromCollection", response.Collections); Assert.Contains("ToCollection", response.Collections); }