public void ShouldNotBeAbleToHandleASpout() { var spout = Substitute.For<ISpout>(); var subjectUnderTest = new StormTuple(); Assert.That(() => subjectUnderTest.BeProcessesBy(spout), Throws.InstanceOf<NotImplementedException>()); }
public void ShouldNotBeAbleToHandleASpout() { var spout = Substitute.For <ISpout>(); var subjectUnderTest = new StormTuple(); Assert.That(() => subjectUnderTest.BeProcessesBy(spout), Throws.InstanceOf <NotImplementedException>()); }
public void ShouldHandleTupleInBolt() { var subjectUnderTest = new StormTuple(); var bolt = Substitute.For<IBolt>(); subjectUnderTest.BeProcessesBy(bolt); bolt.Received().Process(subjectUnderTest); }
public void ShouldHandleTupleInBolt() { var subjectUnderTest = new StormTuple(); var bolt = Substitute.For <IBolt>(); subjectUnderTest.BeProcessesBy(bolt); bolt.Received().Process(subjectUnderTest); }