public function it_should_be_able_to_get_total_ribbon_length_from_contained_boxes(BoxInterface $box1, BoxInterface $box2)
 {
     $box1Length = rand(1, 1000);
     $box2Length = rand(1, 1000);
     $box1->getRibbonLength()->willReturn($box1Length);
     $box2->getRibbonLength()->willReturn($box2Length);
     $this->addBox($box1);
     $this->addBox($box2);
     $this->getTotalRibbonLength()->shouldBe($box1Length + $box2Length);
 }
 function it_can_get_total_ribbon_length(BoxInterface $box1, BoxInterface $box2)
 {
     $boxPerimeter1 = 78;
     $boxPerimeter2 = 15;
     $box1->getRibbonLength()->willReturn($boxPerimeter1);
     $box2->getRibbonLength()->willReturn($boxPerimeter2);
     $this->addBox($box1);
     $this->addBox($box2);
     $this->getTotalRibbonLength()->shouldBe($boxPerimeter1 + $boxPerimeter2);
 }