public void TestNoResult()
        {
            var component = new PortfolioCategoryName();
            Dictionary <string, string> config = new Dictionary <string, string>();
            var str = component.Content(null, config);

            Assert.AreEqual("n/a", str);
        }
        public void TestNoCategory()
        {
            ReportData reportData = TestUtility.PrepaEmptyPortfolioReportData();

            var component = new PortfolioCategoryName();
            Dictionary <string, string> config = new Dictionary <string, string>();
            var str = component.Content(reportData, config);

            Assert.AreEqual("All", str);
        }