File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
force-app/main/default/classes/main/cached-soql Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public virtual inherited sharing class SOQLCache implements Cacheable {
6868
6969 public interface Mockable {
7070 // SObject
71- Mockable thenReturn (SObject record );
71+ void thenReturn (SObject record );
7272 }
7373
7474 @TestVisible
@@ -523,11 +523,9 @@ public virtual inherited sharing class SOQLCache implements Cacheable {
523523
524524 public class SoqlMock implements Mockable {
525525 private List <SObject > mockedRecords = new List <SObject >();
526- private Integer countMock ;
527526
528- public Mockable thenReturn (SObject record ) {
527+ public void thenReturn (SObject record ) {
529528 this .mockedRecords .add (record );
530- return this ;
531529 }
532530
533531 public List <SObject > getMockedResult () {
You can’t perform that action at this time.
0 commit comments