public void Test_Strength_ReturnsAnListOfOneElement_WhenGiveAListOfOneElement()
        {
            mockXML.Object.Add(new Mock<Currency>("EUR",1,"12-12-2012").Object);
            Comparison comparison = new Comparison(mockXML.Object);

            List<Currency> actual = comparison.strength("");

            Assert.AreEqual(1, actual.Count);
        }
        public void Test_Strength_ReturnsASortedListOfStrength_WhenGivenAListOfThreeElementsWithStringOfGBP()
        {
            Mock<Currency> a = new Mock<Currency>("EUR", 1, "12-12-2012");
            Mock<Currency> b = new Mock<Currency>("GBP", 0.5, "12-12-2012");
            Mock<Currency> c = new Mock<Currency>("USD", 3, "12-12-2012");

            mockXML.Object.Add(a.Object);
            mockXML.Object.Add(b.Object);
            mockXML.Object.Add(c.Object);
            Comparison comparison = new Comparison(mockXML.Object);

            List<Currency> expected = new List<Currency>();
            expected.Add(new Currency("GBP",1,"12-12-2012"));
            expected.Add(new Currency("EUR",2,"12-12-2012"));
            expected.Add(new Currency("USD",6,"12-12-2012"));

            List<Currency> actual = comparison.strength("GBP");

            Assert.IsTrue(actual.SequenceEqual(expected,new CurrencyComparerSymbolAndValue()));
        }
        public void Test_Strength_ReturnsAnEmptyList_WhenGivenAnEmptyList()
        {
            Comparison comparison = new Comparison(mockXML.Object);

            List<Currency> actual = comparison.strength("");

            Assert.AreEqual(0, actual.Count);
        }