CreateOneAccount クラスが 1 つのアカウントを作成し、Queueable インターフェイスを実装すると仮定すると、Apex コードを適切にテストする構文はどれですか?
正解:B
To test Queueable Apex, Test.startTest() and Test.stopTest() should be used to ensure the asynchronous code is executed before assertions are made. After calling Test.stopTest(), you would then query for the records to assert that the queueable job correctly created the Account records.
References: Apex Developer Guide - Testing Asynchronous Apex