• David Thompson 24
  • NEWBIE
  • 0 Points
  • Member since 2016
  • DBA
  • Meals on Wheels Central Texas

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Is it usual for a test controller utility class to show up in the overall code coverage percent?  I am a newbie and this is the first batch of tests that I have written.  I created a data factory class  with @isTest and all my tests using this class ran successfully.  I noticed that the utility class is showing up in the Overall Code Coverage section of the developer console as 0% covered and is pullng my average down from 100%.  
I created the class - which works when testing it through Debug > Open Execute Anonymous Window , but when verifying this step I get this error:

Step not yet complete... here's what's wrong: 
There was an unexpected error in your org which is preventing this assessment check from completing: System.EmailException: SendEmail failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Either the plain text body or html body must be supplied.: [] 
Note: you may run into errors if you've skipped previous steps.