Create queue in sfdc apex test class for case object




Usually we need to create all type of data while writing test class. Like custom settings, custom object records, queue.

Queue will be associated with the group. So to create a queue we need to create group. Following is the code snippet which runs to create the queue.


APEXTEST:

Comments