public void ToJSON_IncludesAddedProperties()
        {
            //Arrange
            string sample = "{\n" +
                            "\"name\": \"report\",\n" +
                            "\"measure\": \"pounds\"\n" +
                            "}";
            JObject          sampleObject    = JObject.Parse(sample);
            IReportContainer reportContainer = new ReportContainer(new Dummy_UniqueNameProvider());

            reportContainer.AddProperty("name", "report");
            reportContainer.AddProperty("measure", "pounds");
            bool expected = true;

            //Act
            string jsonResult = reportContainer.ToJSON();

            bool actual = sampleObject.ToString() == jsonResult;

            //Assert
            Assert.AreEqual(expected, actual);
        }
        public void AddPropertyStr_AddsToContainer()
        {
            //Arrange
            IUniqueNameProvider nameProvider    = new Dummy_UniqueNameProvider();
            IReportContainer    reportContainer = new ReportContainer(nameProvider);
            bool expected = true;

            //Act
            reportContainer.AddProperty("val");
            bool actual = reportContainer.Properties.Count == 1;

            //Assert
            Assert.AreEqual(expected, actual);
        }