600, 'background' => '#ffffff', 'padding' => [ 'bottom' => 0, 'left' => 0, 'right' => 0, 'top' => 0, ], ]; $topLevel = $this->createMock(TopLevelPreprocessor::class); $topLevel->expects($this->once())->method('preprocess')->willReturn([]); $cleanup = $this->createMock(CleanupPreprocessor::class); $cleanup->expects($this->once())->method('preprocess')->willReturn([]); $blocksWidth = $this->createMock(BlocksWidthPreprocessor::class); $blocksWidth->expects($this->once())->method('preprocess')->willReturn([]); $secondPreprocessor = $this->createMock(TopLevelPreprocessor::class); $secondPreprocessor->expects($this->once())->method('preprocess')->willReturn([]); $preprocessManager = new PreprocessManager($cleanup, $topLevel, $blocksWidth); $preprocessManager->registerPreprocessor($secondPreprocessor); expect($preprocessManager->preprocess([], $layoutStyles))->equals([]); } }