public void TestExport()
        {
            List <Context> selected = new List <Context>();

            Context result = new Context();

            result.Tokens.Add("a");
            result.Tokens.Add("b");
            result.Tokens.Add("c");

            Context branch = result.Branch("b1");

            branch.Tokens.Add("d");

            selected.Add(result);

            Expect.Once.On(m_ResultViewHelper).Method("GetAllItems").Will(Return.Value(selected));
            Expect.Once.On(m_ExportHelper).Method("Export");

            m_GeneratorController.Export(m_ExportHelper, @"c:\abc.csv");

            m_Mockery.VerifyAllExpectationsHaveBeenMet();
            m_Mockery.VerifyAllExpectationsHaveBeenMet();
        }