public void CatalogueOfLifeTaxaClassificationResolver_DefaultConstructor_ShouldWork()
        {
            var requester = new CatalogueOfLifeDataRequester(new NetConnectorFactory());
            var service   = new CatalogueOfLifeTaxaClassificationResolver(requester);

            Assert.IsNotNull(service, "Service should not be null");
        }
        public void CatalogueOfLifeTaxaClassificationDataService_Resolve_ShouldWork()
        {
            const string        ScientificName = "Coleoptera";
            const TaxonRankType Rank           = TaxonRankType.Order;

            var requester = new CatalogueOfLifeDataRequester(new NetConnectorFactory());
            var service   = new CatalogueOfLifeTaxaClassificationResolver(requester);
            var response  = service.Resolve(ScientificName).Result;

            Assert.IsNotNull(response, "Response should not be null.");

            var defaultClassification = response.SingleOrDefault();

            Assert.AreEqual(ScientificName, defaultClassification.ScientificName, "ScientificName should match.");
            Assert.AreEqual(Rank, defaultClassification.Rank, "Rank should match.");
        }