public void Test_ReadFromMemory(string testInput, int count) { var reader = testInput.GetStreamReader(); _service.UploadZteAlarms(reader); Assert.AreEqual(_service.GetAlarmsToBeDump(), count); }
public int Get() { return(_service.GetAlarmsToBeDump()); }