/**
  * render
  *
  * @param string $name
  * @param \Extcode\Cart\Domain\Model\Product\BeVariantAttribute $productBeVariantAttribute
  * @return array
  */
 public function render($name = '', \Extcode\Cart\Domain\Model\Product\BeVariantAttribute $productBeVariantAttribute)
 {
     $out = '';
     $out .= '<select name="cart_productvariant_1">';
     foreach ($productBeVariantAttribute->getBeVariantAttributeOptions() as $beVariantAttributeOption) {
         $out .= '<option value="' . $beVariantAttributeOption->getUid() . '">' . $beVariantAttributeOption->getTitle() . '</option>';
     }
     $out .= '</select>';
     return $out;
 }
 /**
  * @test
  */
 public function removeTransactionRemovesTransaction()
 {
     $beVariantAttributeOption1 = new \Extcode\Cart\Domain\Model\Product\BeVariantAttributeOption();
     $beVariantAttributeOption2 = new \Extcode\Cart\Domain\Model\Product\BeVariantAttributeOption();
     $this->beVariantAttribute->addBeVariantAttributeOption($beVariantAttributeOption1);
     $this->beVariantAttribute->addBeVariantAttributeOption($beVariantAttributeOption2);
     $this->beVariantAttribute->removeBeVariantAttributeOption($beVariantAttributeOption1);
     $this->assertNotContains($beVariantAttributeOption1, $this->beVariantAttribute->getBeVariantAttributeOptions());
     $this->assertContains($beVariantAttributeOption2, $this->beVariantAttribute->getBeVariantAttributeOptions());
 }