/**
  * @Given It is important that the fleeb is rubbed because the fleeb has all of the fleeb juice
  */
 public function itIsImportantThatTheFleebIsRubbedBecauseTheFleebHasAllOfTheFleebJuice()
 {
     try {
         $this->_blamf->rubDinglebopWithFleeb($this->_grumbo->dinglebop, new Fleeb());
     } catch (FleebHydrationException $e) {
         return;
     }
     throw new \PHPUnit_Framework_Exception();
 }
 /**
  * @return \Remotelyliving\PlumbusPhp\Plumbus
  */
 public function make()
 {
     $dinglebop = new DingleBop();
     // re-purpose schleem
     try {
         $this->_schleem = $this->_blamf->smoothDinglebopWithSchleem($dinglebop, $this->_schleem);
     } catch (OutOfSchleemException $e) {
         $this->_schleem = $this->_blamf->smoothDinglebopWithSchleem($dinglebop, new Schleem());
     }
     $grumbo = new Grumbo();
     $grumbo->push($dinglebop);
     $this->_blamf->rubDinglebopWithFleeb($grumbo->dinglebop, $this->_fleeb);
     $this->_schlami->rubDingleBop($grumbo->dinglebop);
     $this->_schlami->spitOnDingleBop($grumbo->dinglebop);
     $this->_blamf->cutFleeb($this->_fleeb);
     $this->_blamf->rubAgainstTheChumbles($grumbo);
     $this->_blamf->shavePloobis($grumbo);
     return new Plumbus($this->_blamf->shaveGrumboAway($grumbo));
 }
Example #3
0
 /**
  * @test
  */
 public function rubDinglebopWithFleeb()
 {
     $fleeb = new Fleeb();
     $this->_dinglebop->expects($this->once())->method('handleRubbing')->with($fleeb);
     $this->_sut->rubDinglebopWithFleeb($this->_dinglebop, $fleeb);
 }