public void GetConsoleCommandRequestReceivesCorrectCommand()
        {
            graphClientSub.RootEndpoint.Returns(new Uri("http://localhost:7474/db/data"));
            graphClientSub.ExecutionConfiguration.Returns(
                new ExecutionConfiguration {
                Username = "******", Password = "******"
            });
            IHttpManager  httpManger   = Substitute.For <IHttpManager>();
            ISchemaReader schemaReader = new SchemaReader(httpManger);

            httpManger.GetCommandResponse(null).Returns(string.Empty);
            const string expectedCommand = "{\"command\":\"schema\",\"engine\":\"shell\"}";

            schemaReader.GetSchemaTxt(graphClientSub);
            httpManger.Received()
            .GetConsoleCommandRequest(graphClientSub, Arg.Is <string>(s => string.Equals(s, expectedCommand)));
        }