/** * Run test for process method */ public function testProcessAlternativeSource() { $chainMock = $this->getChainMock(); $this->scopeConfigMock->expects(self::once())->method('getValue')->with(WorkflowType::CONFIG_NAME_PATH)->willReturn('off'); $this->alternativeSourceMock->expects(self::once())->method('process')->with($chainMock); $this->frontendCompilationMock->expects(self::never())->method('process'); $this->preprocessorStrategy->process($chainMock); }