Esempio n. 1
0
        public void TesFindPublisherByName()
        {
            string name      = "PublisherTest";
            var    publisher = _publisherService.FindPublisherByName(name);

            Assert.Equal(name, publisher.Name);

            string url = "urlfalse";

            publisher = _publisherService.FindPublisherByName(name, url);
            Assert.True(publisher == null);
        }