@@ -15,7 +15,7 @@ public class Mocks
15
15
16
16
public List <Opportunity > selectByIdWithProducts (Set <ID > idSet )
17
17
{
18
- return (List <Opportunity >) mocks .mockNonVoidMethod (this , ' selectByIdWithProducts' , new List <Object > {idSet });
18
+ return (List <Opportunity >) mocks .mockNonVoidMethod (this , ' selectByIdWithProducts' , new List <Type > { Opportunity . class }, new List < Object > {idSet });
19
19
}
20
20
}
21
21
@@ -31,7 +31,7 @@ public class Mocks
31
31
32
32
public void applyDiscount (Decimal discountPercentage , fflib_ISObjectUnitOfWork uow )
33
33
{
34
- mocks .mockVoidMethod (this , ' applyDiscount' , new List <Object > {discountPercentage , uow });
34
+ mocks .mockVoidMethod (this , ' applyDiscount' , new List <Type >(), new List < Object > {discountPercentage , uow });
35
35
}
36
36
}
37
37
@@ -46,17 +46,17 @@ public class Mocks
46
46
47
47
public void applyDiscounts (Set <ID > opportunityIds , Decimal discountPercentage )
48
48
{
49
- mocks .mockVoidMethod (this , ' applyDiscounts' , new List <Object > {opportunityIds , discountPercentage });
49
+ mocks .mockVoidMethod (this , ' applyDiscounts' , new List <Type >(), new List < Object > {opportunityIds , discountPercentage });
50
50
}
51
51
52
52
public Set <Id > createInvoices (Set <ID > opportunityIds , Decimal discountPercentage )
53
53
{
54
- return (Set <Id >) mocks .mockNonVoidMethod (this , ' createInvoices' , new List <Object > {opportunityIds , discountPercentage });
54
+ return (Set <Id >) mocks .mockNonVoidMethod (this , ' createInvoices' , new List <Type > { ID . class }, new List < Object > {opportunityIds , discountPercentage });
55
55
}
56
56
57
57
public Id submitInvoicingJob ()
58
58
{
59
- return (Id ) mocks .mockNonVoidMethod (this , ' submitInvoicingJob' , new List <Object > {} );
59
+ return (Id ) mocks .mockNonVoidMethod (this , ' submitInvoicingJob' , new List <Type > {ID . class }, new List < Object >() );
60
60
}
61
61
}
62
62
}
0 commit comments