public void SurroundingingNames()
{
var parser = new LogsEventMessageParser();
for (int i = 0; i < 2; i++)
{
var parsedData = parser.Parse("{StreamName: \"NewName\"} A tick! {GroupName: \"GName\"}");
var data = parsedData;
Assert.That(data.Count(), Is.EqualTo(1));
Assert.That(data.Select(x => x.StreamName), Has.All.EqualTo("NewName"));
Assert.That(data.Select(x => x.GroupName), Has.All.EqualTo("GName"));
Assert.That(data.Select(x => x.Message), Has.All.EqualTo("A tick!"));
}
}