Ejemplo n.º 1
0
        public void when_get_queries()
        {
            FakeQueryTypeCollection = new Mock <IQueryTypeCollection>();
            Subject = new QueryProcessor(FakeQueryTypeCollection.Object, null);

            void should_get_all_types_from_the_cache()
            {
                Subject.GetQueries();

                FakeQueryTypeCollection.Verify(x => x.GetTypes());
            }
        }