public void FactoryWithOnlyTwoLeafs_ShouldOnlyContainInstancesOfDotSpatialAndProjNet()
        {
            IList <ICrsTransformationAdapter> allAdapters = factoryWithOnlyTheTwoLeafsDotSpatialAndProjNet.GetInstancesOfAllImplementations();

            Assert.AreEqual(2, allAdapters.Count);
            Assert.That(allAdapters, Does.Contain(new CrsTransformationAdapterDotSpatial()));
            Assert.That(allAdapters, Does.Contain(new CrsTransformationAdapterProjNet()));
            Assert.That(allAdapters, Does.Not.Contain(new CrsTransformationAdapterMightyLittleGeodesy()));
        }
        public void ListOfKnownInstances_ShouldOnlyContainNonNullObjectsAndShouldContainAtLeastACertainNumberOfItems()
        {
            IList <ICrsTransformationAdapter> list = crsTransformationAdapterLeafFactory.GetInstancesOfAllImplementations();

            Assert.That(
                list.Count,
                Is.GreaterThanOrEqualTo(EXPECTED_NUMBER_OF_ADAPTER_LEAF_IMPLEMENTATIONS)
                );
            foreach (ICrsTransformationAdapter crsTransformationAdapter in list)
            {
                VerifyThatTheCreatedAdapterIsRealObject(crsTransformationAdapter);
            }
        }