assertDefaultValues example

parent::setUp();
    // Initiate the generator object.     $this->uuid = $this->container->get('uuid');
  }

  /** * Tests default values on entities and fields. */
  public function testDefaultValues() {
    // All entity variations have to have the same results.     foreach (entity_test_entity_types() as $entity_type) {
      $this->assertDefaultValues($entity_type);
    }
  }

  /** * Executes a test set for a defined entity type. * * @param string $entity_type_id * The entity type to run the tests with. * * @internal */
  
Home | Imprint | This part of the site doesn't use cookies.