public void PerformClusterTesting()
            {
                var cluster = new FakeCluster <UnsortedGenericIsRegistered_Cluster>(
                    null
                    );

                var a = cluster.IsRegisteredFrom <IA>();

                Assert.IsTrue(a);

                var b = cluster.IsRegisteredFrom <IB>();

                Assert.IsTrue(b);

                var c = cluster.IsRegisteredFrom <IC>();

                Assert.IsFalse(c);
            }
Exemplo n.º 2
0
            public void PerformClusterTesting()
            {
                var cluster = new FakeCluster <UnsortedNonGenericIsRegistered_Cluster>(
                    null
                    );

                var a = cluster.IsRegisteredFrom(typeof(IA));

                Assert.IsTrue(a);

                var b = cluster.IsRegisteredFrom(typeof(IB));

                Assert.IsTrue(b);

                var c = cluster.IsRegisteredFrom(typeof(IC));

                Assert.IsFalse(c);
            }