For the unit test to create the controller extension, the correct setup is to instantiate a new ApexPages.StandardController with the Account record and then use it to instantiate the AccountControllerExt. This sets up the controller extension with the context of the provided Account record.
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit