public UpdateNotificationParsing() { using(var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("Texo.Tests.Payload.json")) { var payload = new StreamReader(stream).ReadToEnd(); update = new UpdateNotificationParser(payload); } }
public UpdateNotificationParsing() { using (var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("Texo.Tests.Payload.json")) { var payload = new StreamReader(stream).ReadToEnd(); update = new UpdateNotificationParser(payload); } }