Not quite sure what you mean here - do you want to be able to test the procedure in isolation of the rest of the code?