public void Export_resultLoggerIsNull_ThrowsException()
        {
            IMeasurementStore measurementStoreMock = new MeasurementStoreMock();
            ResultLoggerMock  resultLoggerMock     = null;
            Export            export;

            Assert.ThrowsException <NullReferenceException>(() =>
                                                            export = new Export(measurementStoreMock, resultLoggerMock));
        }
        public void ResultLog()
        {
            MeasurementStoreMock measurementStoreMock = new MeasurementStoreMock();
            var    resultLoggerMock = new ResultLoggerMock();
            Export export           = new Export(measurementStoreMock, resultLoggerMock);

            export.ConfigureResult();
            string actualResult   = resultLoggerMock.GetLoggingString;
            string shouldBeResult = "MongoDB\nSingleInsert:Filled,0.234,1.43" +
                                    "\r\nSingleInsert:Empty,0.134,1.02\r\n" +
                                    "Postgres\nSingleInsert:Filled,4.123,4.456" +
                                    "\r\nSingleInsert:Empty,4.987,4.534\r\n\n";

            Assert.AreEqual(shouldBeResult, actualResult);
        }