public void should_wrap_unit_of_work_around_action_and_dispose_when_finished() { executeTest(); _insideBehavior.AssertWasCalled(b => b.Invoke(_input, _actionFunc)); _uow.AssertWasCalled(u => u.Dispose()); }