public void when_get_query_type()
        {
            FakeQueryTypeCollection = new Mock <IQueryTypeCollection>();
            Subject = new QueryProcessor(FakeQueryTypeCollection.Object, null);

            void should_get_the_type_from_the_cache()
            {
                var queryName = "name";

                Subject.GetQueryType(queryName);

                FakeQueryTypeCollection.Verify(x => x.GetType(queryName));
            }
        }