ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 111 - Certified Platform Developer II discussion

Report
Export

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))
Answers
A.
System.assertEquals(true, isFreezing(null))
B.
System.assertEquals (true, isFreezing('O')
Answers
B.
System.assertEquals (true, isFreezing('O')
C.
System.assertEquals(null, isFreezing('asdf))
Answers
C.
System.assertEquals(null, isFreezing('asdf))
D.
System.assertEquals(true, isFreezingClOO'))
Answers
D.
System.assertEquals(true, isFreezingClOO'))
Suggested answer: C
asked 23/09/2024
Yosra Chabchoub
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first