1 vote
Accepted

Apex test class for Standard Controller extensions - Test problem

When you're instantiating the StandardController, your passing an Asset record. In the assetonaccount class your constructor method calls controller.getRecord() which will return the record your ...

Only top scored, non community-wiki answers of a minimum length are eligible