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
720
720
{
721
721
// Given
722
722
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 );
724
725
725
726
// When
726
727
mockList .add (' bob' );
@@ -735,7 +736,8 @@ private class fflib_ApexMocksTest
735
736
{
736
737
// Given
737
738
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 );
739
741
740
742
// When
741
743
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