public void Should_be_able_to_apply_empty_invariant() { EventStream stream = null; Assert.Throws<EventStreamEmptyException>(() => stream.EmptyInvariant()); stream = new EventStream(new Guid()); Assert.Throws<EventStreamEmptyException>(() => stream.EmptyInvariant()); }
public void Should_be_able_to_apply_empty_invariant() { EventStream stream = null; Assert.Throws <EventStreamEmptyException>(() => stream.EmptyInvariant()); stream = new EventStream(new Guid(), new Mock <IEventMethodInvoker>().Object); Assert.Throws <EventStreamEmptyException>(() => stream.EmptyInvariant()); }