File tree Expand file tree Collapse file tree 2 files changed +46
-33
lines changed Expand file tree Collapse file tree 2 files changed +46
-33
lines changed Original file line number Diff line number Diff line change 55namespace Sabberworm \CSS \Tests \CSSList ;
66
77use PHPUnit \Framework \TestCase ;
8- use Sabberworm \CSS \Comment \Commentable ;
9- use Sabberworm \CSS \CSSList \AtRuleBlockList ;
108use Sabberworm \CSS \Parser ;
11- use Sabberworm \CSS \Renderable ;
129use Sabberworm \CSS \Settings ;
1310
1411/**
@@ -51,36 +48,6 @@ public static function provideSyntacticallyCorrectAtRule(): array
5148 ];
5249 }
5350
54- /**
55- * @test
56- */
57- public function implementsAtRule (): void
58- {
59- $ subject = new AtRuleBlockList ('' );
60-
61- self ::assertInstanceOf (AtRuleBlockList::class, $ subject );
62- }
63-
64- /**
65- * @test
66- */
67- public function implementsRenderable (): void
68- {
69- $ subject = new AtRuleBlockList ('' );
70-
71- self ::assertInstanceOf (Renderable::class, $ subject );
72- }
73-
74- /**
75- * @test
76- */
77- public function implementsCommentable (): void
78- {
79- $ subject = new AtRuleBlockList ('' );
80-
81- self ::assertInstanceOf (Commentable::class, $ subject );
82- }
83-
8451 /**
8552 * @test
8653 *
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ namespace Sabberworm \CSS \Tests \Unit \CSSList ;
6+
7+ use PHPUnit \Framework \TestCase ;
8+ use Sabberworm \CSS \Comment \Commentable ;
9+ use Sabberworm \CSS \CSSList \AtRuleBlockList ;
10+ use Sabberworm \CSS \Renderable ;
11+
12+ /**
13+ * @covers \Sabberworm\CSS\CSSList\AtRuleBlockList
14+ */
15+ final class AtRuleBlockListTest extends TestCase
16+ {
17+ /**
18+ * @test
19+ */
20+ public function implementsAtRule (): void
21+ {
22+ $ subject = new AtRuleBlockList ('' );
23+
24+ self ::assertInstanceOf (AtRuleBlockList::class, $ subject );
25+ }
26+
27+ /**
28+ * @test
29+ */
30+ public function implementsRenderable (): void
31+ {
32+ $ subject = new AtRuleBlockList ('' );
33+
34+ self ::assertInstanceOf (Renderable::class, $ subject );
35+ }
36+
37+ /**
38+ * @test
39+ */
40+ public function implementsCommentable (): void
41+ {
42+ $ subject = new AtRuleBlockList ('' );
43+
44+ self ::assertInstanceOf (Commentable::class, $ subject );
45+ }
46+ }
You can’t perform that action at this time.
0 commit comments