public void GetTypes_BaseTypeFiltering()
        {
            var service = new FixedTypeDiscoveryService(new[] { typeof(FixedTypeDiscoveryServiceTest), typeof(FixedTypeDiscoveryService) });

            Assert.That(service.GetTypes(typeof(ITypeDiscoveryService), false), Is.EqualTo(new[] { typeof(FixedTypeDiscoveryService) }));
        }
        public void GetTypes_ExcludeGlobalTypes_False()
        {
            var service = new FixedTypeDiscoveryService(new[] { typeof(FixedTypeDiscoveryServiceTest), typeof(object) });

            Assert.That(service.GetTypes(null, false), Is.EqualTo(new[] { typeof(FixedTypeDiscoveryServiceTest), typeof(object) }));
        }
        public void GetTypes()
        {
            var service = new FixedTypeDiscoveryService(new[] { typeof(FixedTypeDiscoveryServiceTest) });

            Assert.That(service.GetTypes(null, false), Is.EqualTo(new[] { typeof(FixedTypeDiscoveryServiceTest) }));
        }