public void Null_Service_Locator_Should_Throw_InvalidOperationException() { var context = Get<IRotorContext>(); using (Record()) { Expect.Call(context.ServiceLocator).Return(null); } using (Playback()) { var blade = new RoutingBlade(); blade.Spin(context); } }
public void Null_Service_Locator_Should_Throw_InvalidOperationException() { var context = Get <IRotorContext>(); using (Record()) { Expect.Call(context.ServiceLocator).Return(null); } using (Playback()) { var blade = new RoutingBlade(); blade.Spin(context); } }
public void Null_Rotor_Context_Should_Throw_ArgumentNullException() { var blade = new RoutingBlade(); blade.Spin(null); }
public void Null_Rotor_Context_Should_Throw_ArgumentNullException() { var blade = new RoutingBlade(); blade.Spin(null); }