public static EventSourceRoot AssertGenerated(IEventRegistry blob) { EventSourceRoot root = blob.PeekEvents(); Assert.Single(root.Events); return(root); }
public static void AssertNotGenerated(IEventRegistry blob) { EventSourceRoot root = blob.PeekEvents(); Assert.Empty(root.Events); }