public void BookModel_GetBloomLibraryBookDetailLink_BadInput_ErrorReported(string badObjectId)
        {
            var book = new BookModel()
            {
                ObjectId = badObjectId
            };

            string url = book.GetDetailLink(EnvironmentSetting.Dev);

            Assert.That(url, Is.Null);
        }
        public void BookModel_GetBloomLibraryBookDetailLink_Dev_PopulatesLink()
        {
            var bookModel = new BookModel()
            {
                ObjectId = "myObjectId"
            };

            string url = bookModel.GetDetailLink(EnvironmentSetting.Dev);

            Assert.That(url, Is.EqualTo("https://dev.bloomlibrary.org/browse/detail/myObjectId"));
        }