public void ShouldNotHandleTupleInBolt() { var subjectUnderTest = new StormNext(); var bolt = Substitute.For <IBolt>(); Assert.That(() => subjectUnderTest.BeProcessesBy(bolt), Throws.InstanceOf <NotImplementedException>()); }
public void ShouldBeAbleToHandleASpout() { var spout = Substitute.For <ISpout>(); var subjectUnderTest = new StormNext(); subjectUnderTest.BeProcessesBy(spout); spout.Received().Next(subjectUnderTest); }
public abstract void Next(StormNext stormNext);
public override void Next(StormNext stormNext) { }