File tree 2 files changed +46
-33
lines changed
2 files changed +46
-33
lines changed Original file line number Diff line number Diff line change 5
5
namespace Sabberworm \CSS \Tests \CSSList ;
6
6
7
7
use PHPUnit \Framework \TestCase ;
8
- use Sabberworm \CSS \Comment \Commentable ;
9
- use Sabberworm \CSS \CSSList \AtRuleBlockList ;
10
8
use Sabberworm \CSS \Parser ;
11
- use Sabberworm \CSS \Renderable ;
12
9
use Sabberworm \CSS \Settings ;
13
10
14
11
/**
@@ -51,36 +48,6 @@ public static function provideSyntacticallyCorrectAtRule(): array
51
48
];
52
49
}
53
50
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
-
84
51
/**
85
52
* @test
86
53
*
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