Which assertion wou...
 
Notifications
Clear all

Which assertion would be used in a negative test case?

1 Posts
1 Users
0 Likes
164 Views
(@goyrocky)
Noble Member
Joined: 2 years ago
Posts: 726
Topic starter  

A developer is writing unit tests for the following method:

Which assertion would be used in a negative test case?

  • A . System.assertEquals(true, isFreezing(null))
  • B . System.assertEquals (true, isFreezing('O')
  • C . System.assertEquals(null, isFreezing('asdf))
  • D . System.assertEquals(true, isFreezingClOO'))

Show Answer Hide Answer

Suggested Answer: C

   
Quote

Latest Salesforce PDII Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: