Esempio n. 1
0
        public void ShouldAbleToPrintViaWebInterface()
        {
            var port = 3000;

            new Thread(() => Program.PrintedPetsInWebAPI(port)).Start();
            Thread.Sleep(2000);   // wait for the web server

            var output = new WebClient().DownloadString("http://*****:*****@"Male
  • Garfield
  • Jim
  • Max
  • Tom
Female
  • Garfield
  • Simba
  • Tabby");
        }