예제 #1
0
        public void ShouldNotHandleTupleInBolt()
        {
            var subjectUnderTest = new StormNext();
            var bolt             = Substitute.For <IBolt>();

            Assert.That(() => subjectUnderTest.BeProcessesBy(bolt),
                        Throws.InstanceOf <NotImplementedException>());
        }
예제 #2
0
        public void ShouldBeAbleToHandleASpout()
        {
            var spout            = Substitute.For <ISpout>();
            var subjectUnderTest = new StormNext();

            subjectUnderTest.BeProcessesBy(spout);
            spout.Received().Next(subjectUnderTest);
        }
예제 #3
0
 public abstract void Next(StormNext stormNext);
예제 #4
0
 public override void Next(StormNext stormNext)
 {
 }