public void TestBaselineOutputParsedSuccessfully() { MockBaselineOutput(Resources.baseline_output_nice); var events = _genertorUnderTest.GetEvents().ToList(); Assert.AreEqual(1, events.Count); Assert.AreEqual(8, ((OSBaseline)events.First()).Payload.Count()); }
public void BaselineOutputIsParsedWithoutError() { SetupBaselineOutput(Resources.baseline_output_nice); var events = _genertorUnderTest.GetEvents().ToList(); Assert.AreEqual(1, events.Count); Assert.AreEqual(8, ((OSBaseline)events.First()).Payload.Count()); }