Simple non-dynamic mock object utility