public function testCreateDefaults() { $catalogPromotion = new CatalogPromotion(); $this->assertTrue($catalogPromotion->getId() instanceof UuidInterface); $this->assertTrue($catalogPromotion->getCreated() instanceof DateTime); $this->assertSame('d', $catalogPromotion->getCode()); $this->assertSame(null, $catalogPromotion->getTag()); }