Which two statements are true about using the @testSetup annotation in an Apex test class? (Choose two.)
Which two statements are true about using the @testSetup annotation in an Apex test class? (Choose two.)A . The @testSetup annotation cannot be used when the @isTest(SeeAllData=True) annotation is used.B . Test data is inserted once for all test methods in a class.C . Records created in the @testSetup method...
What does the query return if there is no Contact with the last name 'Smith'?
A developer has the following query: Contact c = [SELECT id, firstname, lastname, email FROM Contact WHERE lastname = 'Smith']; What does the query return if there is no Contact with the last name 'Smith'?A . A contact initialized to null.B . An error that no rows are found.C ....
Which SOQL query successfully returns the Accounts grouped by name?
Which SOQL query successfully returns the Accounts grouped by name?A . SELECT Type, Max(CreatedDate) FROM Account GROUP BY NameB . SELECT Name, Max(CreatedDate) FROM Account GROUP BY NameC . SELECT Id, Type, Max(CreatedDate) FROM Account GROUP BY NameD . SELECT Type, Name, Max(CreatedDate) FROM Account GROUP BY Name LIMIT 5View...