In the previous recipe, you learned how to write a unit test class for a contract class. In this recipe, you will learn how to create unit test classes for a controller class. A controller class is used for report execution as well as processing of report data. For the unit test class, first we will create a new controller class and then test the business logic inside that controller class in AX R3.
To work with this recipe, we need to create a controller class named
PKTVendInvoiceController that extends
PKTVendInvoiceControllerclass which extends
public class PKTVendInvoiceController extends SrsReportRunController ...