public function testBreakAfter() { $areaCode = 'frontend'; $breakAfter = 5; $this->deploymentConfig->expects($this->once())->method('get')->with(Config::PARAM_BREAK_AFTER . '_' . $areaCode)->willReturn($breakAfter); $this->appState->expects($this->once())->method('getAreaCode')->willReturn($areaCode); $this->assertEquals($this->config->getBreakAfter(), $breakAfter); }