File tree Expand file tree Collapse file tree 3 files changed +4
-67
lines changed
sfdx-source/apex-mocks/test/classes Expand file tree Collapse file tree 3 files changed +4
-67
lines changed Original file line number Diff line number Diff line change @@ -720,7 +720,8 @@ private class fflib_ApexMocksTest
720720 {
721721 // Given
722722 fflib_ApexMocks mocks = new fflib_ApexMocks ();
723- fflib_MyList .IList mockList = new fflib_Mocks .Mockfflib_MyList (mocks );
723+ // fflib_MyList.IList mockList = new fflib_Mocks.Mockfflib_MyList(mocks);
724+ fflib_MyList mockList = (fflib_MyList )mocks .mock (fflib_MyList .class );
724725
725726 // When
726727 mockList .add (' bob' );
@@ -735,7 +736,8 @@ private class fflib_ApexMocksTest
735736 {
736737 // Given
737738 fflib_ApexMocks mocks = new fflib_ApexMocks ();
738- fflib_MyList .IList mockList = new fflib_Mocks .Mockfflib_MyList (mocks );
739+ // fflib_MyList.IList mockList = new fflib_Mocks.Mockfflib_MyList(mocks);
740+ fflib_MyList mockList = (fflib_MyList )mocks .mock (fflib_MyList .class );
739741
740742 // When
741743 mocks .startStubbing ();
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments