public void End() { var state = new MockSampleState(); var sampleObject = new SampleObject(state); sampleObject.End(); state.VerifyEndCalled(); }
public void Middle() { var state = new MockSampleState(); var sampleObject = new SampleObject(state); sampleObject.Middle(); state.VerifyMiddleCalled(); }
public void Last() { var state = new MockSampleState(); var sampleObject = new SampleObject(state); sampleObject.Last(); state.VerifyLastCalled(); }
public void Start() { var state = new MockSampleState(); var sampleObject = new SampleObject(state); sampleObject.Start(); state.VerifyStartCalled(); }