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
/**
@@ -25,11 +27,27 @@ protected function setUp(): void
25
27
$ this ->subject = new DeclarationBlock ();
26
28
}
27
29
30
+ /**
31
+ * @test
32
+ */
33
+ public function implementsCSSElement (): void
34
+ {
35
+ self ::assertInstanceOf (CSSElement::class, $ this ->subject );
36
+ }
37
+
28
38
/**
29
39
* @test
30
40
*/
31
41
public function implementsCSSListItem (): void
32
42
{
33
43
self ::assertInstanceOf (CSSListItem::class, $ this ->subject );
34
44
}
45
+
46
+ /**
47
+ * @test
48
+ */
49
+ public function implementsPositionable (): void
50
+ {
51
+ self ::assertInstanceOf (Positionable::class, $ this ->subject );
52
+ }
35
53
}
You can’t perform that action at this time.
0 commit comments