Skip to main content
7 events
when toggle format what by license comment
Feb 21, 2017 at 6:10 comment added Varun Kirtiman Abhishek Molla @AdrianLarson okay, thanks for the explanation :). I will try to explain to the one who wrote the code.
Feb 20, 2017 at 23:10 history edited Adrian Larson CC BY-SA 3.0
added 514 characters in body
Feb 20, 2017 at 18:34 comment added Adrian Larson That exception is the expected behavior as the code is written. It's poorly written code. You should push to fix it.
Feb 20, 2017 at 18:33 comment added Adrian Larson @varun you cannot hit that line. As for the error, you have to create the corresponding data.
Feb 20, 2017 at 16:31 comment added Varun Kirtiman Abhishek Molla The problem is, i cannot modify the Apex Class code myself...i have been given the job to do only the test class...as for a ternary operator...thanks for the explanation @JohnThompson, but i knew about it ^^'
Feb 20, 2017 at 16:15 comment added John Thompson That's a ternary operator... "This operator acts as a short-hand for if-then-else statements.
Feb 20, 2017 at 15:26 history answered Adrian Larson CC BY-SA 3.0