RecordEvent() public method

Record the ocurrance of a given monitor configuration.
public RecordEvent ( string configName ) : void
configName string Name of the config
return void
Example #1
0
            public void WhenResolutionIsZeroShouldAddToUpdateList()
            {
                var monitorInfo = BuildDefaultMonitorInfo(0);
                var recordMocks = BuildRecordMocks(monitorInfo);

                var recorder = new Recorder(recordMocks.Cache.Object, recordMocks.Settings.Object);
                recorder.RecordEvent("Test");

                Assert.Equal(monitorInfo.MonitorRecords.Count, 1);
            }