public void Should_Have_Good_Number_Of_Results() { string[] args = new string[]{"test","-url","http://horloge.parlante.online.fr/","-times","5"}; Parser p = new Parser(args); p.parseArgs(); Core c = new Core(p.Line); Assert.AreEqual(Int32.Parse(args[4]),c.executeTest().Count); }