@@ -29,13 +29,7 @@ protected function getDataProcessor(): AbstractProcessor
2929 protected function validInputExpectations (MockObject $ spreadsheetMock ): void
3030 {
3131 // mock worksheet will be returned
32- $ worksheetMock = $ this ->createConfiguredMock (
33- Worksheet::class,
34- [
35- 'getTitle ' => 'Worksheet #1 ' ,
36- 'getHashCode ' => '263df821f3760dc1ec4e ' ,
37- ]
38- );
32+ $ worksheetMock = new Worksheet (null , 'Worksheet #1 ' );
3933 $ spreadsheetMock ->expects (self ::once ())->method ('getAllSheets ' )->willReturn ([$ worksheetMock ]);
4034
4135 // check if extract gets called
@@ -80,7 +74,7 @@ public static function processingDataProvider(): array
8074 'expectedResult ' => [
8175 'someOtherVar ' => [
8276 // key is file uid and hash code
83- '123263df821f3760dc1ec4e ' => [
77+ '123b8367b83d9b7fa3124b32922f50ad2fc ' => [
8478 'sheetTitle ' => 'Worksheet #1 ' ,
8579 'bodyData ' => ['body-data-mocked ' ],
8680 'headData ' => ['head-data-mocked ' ],
@@ -97,7 +91,7 @@ public static function processingDataProvider(): array
9791 'expectedResult ' => [
9892 'spreadsheets ' => [
9993 // key is file uid and hash code
100- '123263df821f3760dc1ec4e ' => [
94+ '123b8367b83d9b7fa3124b32922f50ad2fc ' => [
10195 'sheetTitle ' => 'Worksheet #1 ' ,
10296 'bodyData ' => ['body-data-mocked ' ],
10397 'headData ' => ['head-data-mocked ' ],
0 commit comments