12
12
namespace Symfony \Component \Workflow \Tests \MarkingStore ;
13
13
14
14
use PHPUnit \Framework \TestCase ;
15
- use Symfony \Component \Workflow \Marking ;
16
15
use Symfony \Component \Workflow \MarkingStore \MethodMarkingStore ;
17
16
use Symfony \Component \Workflow \Tests \Subject ;
18
17
@@ -26,7 +25,6 @@ public function testGetSetMarkingWithMultipleState()
26
25
27
26
$ marking = $ markingStore ->getMarking ($ subject );
28
27
29
- $ this ->assertInstanceOf (Marking::class, $ marking );
30
28
$ this ->assertCount (0 , $ marking ->getPlaces ());
31
29
32
30
$ marking ->mark ('first_place ' );
@@ -48,7 +46,6 @@ public function testGetSetMarkingWithSingleState()
48
46
49
47
$ marking = $ markingStore ->getMarking ($ subject );
50
48
51
- $ this ->assertInstanceOf (Marking::class, $ marking );
52
49
$ this ->assertCount (0 , $ marking ->getPlaces ());
53
50
54
51
$ marking ->mark ('first_place ' );
@@ -70,7 +67,6 @@ public function testGetSetMarkingWithSingleStateAndAlmostEmptyPlaceName()
70
67
71
68
$ marking = $ markingStore ->getMarking ($ subject );
72
69
73
- $ this ->assertInstanceOf (Marking::class, $ marking );
74
70
$ this ->assertCount (1 , $ marking ->getPlaces ());
75
71
}
76
72
@@ -82,7 +78,6 @@ public function testGetMarkingWithValueObject()
82
78
83
79
$ marking = $ markingStore ->getMarking ($ subject );
84
80
85
- $ this ->assertInstanceOf (Marking::class, $ marking );
86
81
$ this ->assertCount (1 , $ marking ->getPlaces ());
87
82
$ this ->assertSame ('first_place ' , (string ) $ subject ->getMarking ());
88
83
}
@@ -95,7 +90,6 @@ public function testGetMarkingWithUninitializedProperty()
95
90
96
91
$ marking = $ markingStore ->getMarking ($ subject );
97
92
98
- $ this ->assertInstanceOf (Marking::class, $ marking );
99
93
$ this ->assertCount (0 , $ marking ->getPlaces ());
100
94
}
101
95
0 commit comments