public function testComposeFailsIfConfigurationNotFound()
 {
     $test = new DayComposer();
     $this->setupMockConfig('fail');
     $view = $this->getMockView(Null, Null);
     $view->shouldReceive('with')->with('dayTitle', Null)->once();
     $view->shouldReceive('with')->with('day', Null)->once();
     $test->compose($view);
 }
 public function compose($view)
 {
     parent::compose($view);
     $this->view->with('day3', $this->getPaddedDayValue());
 }
 public function compose($view)
 {
     parent::compose($view);
     $this->loadPropertyFromConfig('dayPath', self::DAY_PATH);
     $this->view->with('dayLink', $this->getDayLink());
 }