File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 5
5
namespace Sabberworm \CSS \Tests \Unit \RuleSet ;
6
6
7
7
use PHPUnit \Framework \TestCase ;
8
+ use Sabberworm \CSS \CSSElement ;
8
9
use Sabberworm \CSS \CSSList \CSSListItem ;
10
+ use Sabberworm \CSS \Position \Positionable ;
9
11
use Sabberworm \CSS \RuleSet \DeclarationBlock ;
10
12
11
13
/**
@@ -23,11 +25,27 @@ protected function setUp(): void
23
25
$ this ->subject = new DeclarationBlock ();
24
26
}
25
27
28
+ /**
29
+ * @test
30
+ */
31
+ public function implementsCSSElement (): void
32
+ {
33
+ self ::assertInstanceOf (CSSElement::class, $ this ->subject );
34
+ }
35
+
26
36
/**
27
37
* @test
28
38
*/
29
39
public function implementsCSSListItem (): void
30
40
{
31
41
self ::assertInstanceOf (CSSListItem::class, $ this ->subject );
32
42
}
43
+
44
+ /**
45
+ * @test
46
+ */
47
+ public function implementsPositionable (): void
48
+ {
49
+ self ::assertInstanceOf (Positionable::class, $ this ->subject );
50
+ }
33
51
}
You can’t perform that action at this time.
0 commit comments