public void Pass_when_checking_sequence_with_multiple_substitutes() { Received.This(() => _ignition.TurnRight()) .Then(() => _engine.Start()) .Then(() => _engine.Rev()) .Then(() => _ignition.TurnLeft()) .Then(() => _engine.Stop()); }
public void SetUp() { _engine = Substitute.For <IEngine>(); _ignition = Substitute.For <IIgnition>(); _ignition.TurnRight(); _engine.Start(); _engine.Rev(); _ignition.TurnLeft(); _engine.Stop(); }
public void SetUp() { _engine = Substitute.For<IEngine>(); _ignition = Substitute.For<IIgnition>(); _ignition.TurnRight(); _engine.Start(); _engine.Rev(); _ignition.TurnLeft(); _engine.Stop(); }