This is a generally good approach, applicable to many tasks we programmers do. A "stub" for development that makes it easier and can be later removed when the system is released.
It's important not to forget to remove the stub though !
Comment on Re^2: No plan "weakens" my Test scripts?