/**
  * @dataProvider getOptionsFixture
  */
 public function testCreateWithOptions(array $options)
 {
     $options = array_merge([EmbeddedEntityListAttribute::OPTION_ENTITY_TYPES => [ParagraphType::CLASS]], $options);
     $embed_attribute = new EmbeddedEntityListAttribute(self::ATTR_NAME, $this->getTypeMock(), $options);
     $this->assertEquals($embed_attribute->getName(), self::ATTR_NAME);
     $this->assertEquals($embed_attribute->getName(), self::ATTR_NAME);
     $this->assertFalse($embed_attribute->hasOption('snafu_flag'));
     foreach ($options as $optName => $optValue) {
         $this->assertTrue($embed_attribute->hasOption($optName));
         $this->assertEquals($embed_attribute->getOption($optName), $optValue);
     }
 }