public function testSetEmbedable() { $this->assertIsFluent($this->builder->setEmbeddable()); $this->assertTrue($this->cm->isEmbeddedClass); $this->assertFalse($this->cm->isMappedSuperclass); }
/** * @param ClassMetadataBuilder $metadata */ public function setType(ClassMetadataBuilder $metadata) { $metadata->setEmbeddable(); }
public function test_cannot_add_big_increments_to_embeddable() { $this->builder->setEmbeddable(); $this->setExpectedException(LogicException::class); $this->fluent->bigIncrements('id'); }