File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 */
2424final class DeclarationBlockTest extends TestCase
2525{
26- use RuleContainerTest ;
26+ use DeclarationListTest ;
2727
2828 /**
2929 * @var DeclarationBlock
Original file line number Diff line number Diff line change 1414 */
1515final class RuleSetTest extends TestCase
1616{
17- use RuleContainerTest ;
17+ use DeclarationListTest ;
1818
1919 /**
2020 * @var RuleSet
Original file line number Diff line number Diff line change 66
77use PHPUnit \Framework \TestCase ;
88use Sabberworm \CSS \Property \Declaration ;
9- use Sabberworm \CSS \RuleSet \RuleContainer ;
9+ use Sabberworm \CSS \RuleSet \DeclarationList ;
1010use TRegx \PhpUnit \DataProviders \DataProvider ;
1111
1212/**
13- * This trait provides test methods for unit-testing classes that implement `RuleContainer `.
13+ * This trait provides test methods for unit-testing classes that implement `DeclarationList `.
1414 * It can be `use`d in a `TestCase` which has a `$subject` property that is an instance of the implementing class
1515 * (the class under test), `setUp()` with default values.
1616 *
1717 * @phpstan-require-extends TestCase
1818 */
19- trait RuleContainerTest
19+ trait DeclarationListTest
2020{
2121 /**
2222 * @test
2323 */
24- public function implementsRuleContainer (): void
24+ public function implementsDeclarationList (): void
2525 {
26- self ::assertInstanceOf (RuleContainer ::class, $ this ->subject );
26+ self ::assertInstanceOf (DeclarationList ::class, $ this ->subject );
2727 }
2828
2929 /**
You can’t perform that action at this time.
0 commit comments