First, in order to test an add, we need the data to add. This is provided in the method protected void populateRowForAdd(ListBody row). Here is an example:
protected void populateRowForAdd(ListBody row) { row.put("DESCR50", "description"); row.put("XAI_IN_SVC_ID", "$"); }
We also need to know the ID field, and an example ID, eg
protected String getMainHeaderField() { return "NT_DWN_TYPE_CD"; } protected StringId getTestId() { return new NotificationDownloadType_Id("FOO"); }
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.