+ Start a Discussion

in testMethod - can AccountTeamMembers be created? what about Share objects?

I'm having trouble getting my 75% code coverage. In my testMethod, I'm creating AccountTeamMembers to go along with the Accounts I create, but in the trigger I'm trying to cover, the SOQL against AccountTeamMembers doesn't seem to be returning hits - the code w/in the loop doesn't get hit.

Also, will Share objects get created when I try to cover my customized security?