PDII Web TestEngine demo

Exit VCEDump PDII Salesforce Certified Platform Developer II (Plat-Dev-301)
Question 5 of 67
0% complete
Q5 Single choice

A developer is writing unit tests for the following method:

public static Boolean isFreezing(String celsiusTemp){ if(String.isNotBlank(celsiusTemp) &&
celsiusTemp.isNumeric())
{ return Decimal.valueof(celsiusTemp) <= 0; } return null; }

Which assertion would be used in a negative test case?

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in