Exemplo n.º 1
0
 /**
  * @test
  */
 public function setSubtypesForObjectStorageContainingCustomerSubtypeSetsSubtypes()
 {
     $subtype = new \GK\Stdapp\Domain\Model\CustomerSubtype();
     $objectStorageHoldingExactlyOneSubtypes = new \TYPO3\CMS\Extbase\Persistence\Generic\ObjectStorage();
     $objectStorageHoldingExactlyOneSubtypes->attach($subtype);
     $this->fixture->setSubtypes($objectStorageHoldingExactlyOneSubtypes);
     $this->assertSame($objectStorageHoldingExactlyOneSubtypes, $this->fixture->getSubtypes());
 }