public function PluginTestBase::testPropertiesInitializeEmpty in Purge 8.3
Test that instances initialize with no properties.
See also
\Drupal\purge\Plugin\Purge\Invalidation\ImmutableInvalidationInterface::getProperties
File
- tests/
src/ Kernel/ Invalidation/ PluginTestBase.php, line 118
Class
- PluginTestBase
- Provides an abstract test class to thoroughly test invalidation types.
Namespace
Drupal\Tests\purge\Kernel\InvalidationCode
public function testPropertiesInitializeEmpty() : void {
$i = $this
->getInstance();
$this
->assertSame([], $i
->getProperties());
}