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

            Assert.That(() => subjectUnderTest.BeProcessesBy(bolt),
                        Throws.InstanceOf <NotImplementedException>());
        }
Exemple #2
0
        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);
Exemple #4
0
 public override void Next(StormNext stormNext)
 {
 }