Test generated code for entry method template declarations