Test class have 'System.QueryException: List has more than 1 row for assignment to SObject' error
138687
How to fix "System.QueryException: List has more than 1 row for assignment to SObject"
77292
How to avoid ISOTrigger: System.LimitException: Too many SOQL queries: 101
65689
getting exception while putting list data into the map
480
What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it?
98099
How to include inner class/wrapper class in test method?
77057
What is causing 'CA2202: Do not dispose objects multiple times' in this code and how can I refactor?
18757
System.UnexpectedException: No more than one executeBatch can be called from within a testmethod
128656
Multiple queries executed in java in single statement
289
What is a NullReferenceException, and how do I fix it?
88617
Help with test class for Batch Apex
108336
Nullable Object must have a value #2
126943
Instantiate objects in a List and use it
19585
ResultSet exception - before start of result set
59517
FATAL_ERROR|System.QueryException: List has no rows for assignment to SObject
98780
Test Method throwing null pointer exception on custom setting
22785
Apex Cast sObject list dynamically to a specific sObject Type
132458
this class is not key value coding-compliant for the key givenName