public void SetupContext()
        {
            fileName   = "products.xml";
            mapper     = MockRepository.GenerateMock <IProductMapper>();
            fileLoader = MockRepository.GenerateMock <IFileLoader>();
            repository = new ProductRepository(fileLoader, mapper);

            // Arrange
            var xmlFragment = "<product id='1' name='xyz' unitPrice='10.44' discontinued='true' />";
            var ms          = new MemoryStream();
            var writer      = new StreamWriter(ms);

            writer.WriteLine("<products>");
            writer.WriteLine(xmlFragment);
            writer.WriteLine(xmlFragment);
            writer.WriteLine("</products>");
            writer.Flush();
            ms.Position = 0;
            fileLoader.Stub(x => x.Load(fileName)).Return(ms);
        }