public void ValuesTest() { //init IConnectMetroAPI fakeRequestOnMetroData = new ConnectMetroAPIFake_StationsCCI600(); Stations target = new Stations(fakeRequestOnMetroData); //action Dictionary <string, List <string> > result = target.GetSortedStationData(); //assertion //Assert.AreEqual(result, cci600); Assert.IsTrue(result.ContainsKey("GRENOBLE, CASERNE DE BONNE")); Assert.AreEqual(result["GRENOBLE, CASERNE DE BONNE"][0], "SEM:16"); Assert.IsTrue(result.ContainsKey("GRENOBLE, DOCTEUR MARTIN")); Assert.AreEqual(result["GRENOBLE, DOCTEUR MARTIN"][0], "SEM:C1"); Assert.AreEqual(result["GRENOBLE, DOCTEUR MARTIN"][1], "SEM:C4"); Assert.AreEqual(result["GRENOBLE, DOCTEUR MARTIN"][2], "SEM:13"); Assert.AreEqual(result["GRENOBLE, DOCTEUR MARTIN"][3], "SEM:16"); Assert.AreEqual(result["GRENOBLE, DOCTEUR MARTIN"][4], "SEM:12"); Assert.AreEqual(result["GRENOBLE, DOCTEUR MARTIN"][5], "C38:6020"); Assert.IsTrue(result.ContainsKey("GRENOBLE, CHAVANT")); Assert.AreEqual(result["GRENOBLE, CHAVANT"][0], "SEM:C1"); Assert.AreEqual(result["GRENOBLE, CHAVANT"][1], "C38:EXP2"); Assert.AreEqual(result["GRENOBLE, CHAVANT"][2], "C38:EXP1"); Assert.AreEqual(result["GRENOBLE, CHAVANT"][3], "C38:6200"); Assert.AreEqual(result["GRENOBLE, CHAVANT"][4], "C38:6080"); Assert.AreEqual(result["GRENOBLE, CHAVANT"][5], "C38:6060"); Assert.IsTrue(result.ContainsKey("GRENOBLE, CHAMPOLLION")); Assert.AreEqual(result["GRENOBLE, CHAMPOLLION"][0], "SEM:16"); }