![visualforce - queried inside controller so how can i access id in that through apex test class? - Salesforce Stack Exchange visualforce - queried inside controller so how can i access id in that through apex test class? - Salesforce Stack Exchange](https://i.stack.imgur.com/GZhjg.png)
visualforce - queried inside controller so how can i access id in that through apex test class? - Salesforce Stack Exchange
Using ApexPages.currentPage().getParameters().get('id') with a custom visualforce page - Salesforce Developer Community
![controller - Writing test class for wrapper class to simulate the business process - Salesforce Stack Exchange controller - Writing test class for wrapper class to simulate the business process - Salesforce Stack Exchange](https://i.stack.imgur.com/WWvFH.jpg)
controller - Writing test class for wrapper class to simulate the business process - Salesforce Stack Exchange
![Dynamically Showing Page Layout Data on a Visualforce Page using Metadata with Record Values – Shared Experience Dynamically Showing Page Layout Data on a Visualforce Page using Metadata with Record Values – Shared Experience](https://xperiencepartage.files.wordpress.com/2019/02/testclass.png)