     FieldConfig::create([       'field_name' => $field_name,       'entity_type' => 'entity_test',       'bundle' => 'entity_test',     ])->save();      entity_get_form_display('entity_test', 'entity_test', 'default')       ->setComponent($field_name, [         'type' => 'number',         'settings' => [           'placeholder' => '0.00'         ],       ])       ->save();     entity_get_display('entity_test', 'entity_test', 'default')       ->setComponent($field_name, [         'type' => 'number_decimal',       ])       ->save();      // Display creation form.     $this->drupalGet('entity_test/add');     $this->assertFieldByName("{$field_name}[0][value]", '', 'Widget is displayed');     $this->assertRaw('placeholder="0.00"');      // Submit a signed decimal value within the allowed precision and scale.     $value = '-0000.0000';     $edit = [       "{$field_name}[0][value]" => $value,     ];     $this->drupalPostForm(NULL, $edit, t('Save'));     preg_match('|entity_test/manage/(\d+)|', $this->url, $match);     $id = $match[0];     $this->assertText(t('entity_test @id has been created.', ['@id' => $id]), 'Entity was created');     $this->