public void Should_show_the_loading_time_of_a_page_five_times() { //given string[] arguments = {"test", "-url", "http://api.openweathermap.org/data/2.5/weather?q=paris&units=metric", "-times", "5"}; Command c = new Command(arguments); //when UrlOperations uo = new UrlOperations(c); double[] times = uo.testLoadingTimeContent(); //then Assert.AreEqual(times.GetLength(0), c.getTime()); }