1212namespace Symfony \Component \Workflow \Tests \MarkingStore ;
1313
1414use PHPUnit \Framework \TestCase ;
15- use Symfony \Component \Workflow \Marking ;
1615use Symfony \Component \Workflow \MarkingStore \MethodMarkingStore ;
1716use Symfony \Component \Workflow \Tests \Subject ;
1817
@@ -26,7 +25,6 @@ public function testGetSetMarkingWithMultipleState()
2625
2726 $ marking = $ markingStore ->getMarking ($ subject );
2827
29- $ this ->assertInstanceOf (Marking::class, $ marking );
3028 $ this ->assertCount (0 , $ marking ->getPlaces ());
3129
3230 $ marking ->mark ('first_place ' );
@@ -48,7 +46,6 @@ public function testGetSetMarkingWithSingleState()
4846
4947 $ marking = $ markingStore ->getMarking ($ subject );
5048
51- $ this ->assertInstanceOf (Marking::class, $ marking );
5249 $ this ->assertCount (0 , $ marking ->getPlaces ());
5350
5451 $ marking ->mark ('first_place ' );
@@ -70,7 +67,6 @@ public function testGetSetMarkingWithSingleStateAndAlmostEmptyPlaceName()
7067
7168 $ marking = $ markingStore ->getMarking ($ subject );
7269
73- $ this ->assertInstanceOf (Marking::class, $ marking );
7470 $ this ->assertCount (1 , $ marking ->getPlaces ());
7571 }
7672
@@ -82,7 +78,6 @@ public function testGetMarkingWithValueObject()
8278
8379 $ marking = $ markingStore ->getMarking ($ subject );
8480
85- $ this ->assertInstanceOf (Marking::class, $ marking );
8681 $ this ->assertCount (1 , $ marking ->getPlaces ());
8782 $ this ->assertSame ('first_place ' , (string ) $ subject ->getMarking ());
8883 }
@@ -95,7 +90,6 @@ public function testGetMarkingWithUninitializedProperty()
9590
9691 $ marking = $ markingStore ->getMarking ($ subject );
9792
98- $ this ->assertInstanceOf (Marking::class, $ marking );
9993 $ this ->assertCount (0 , $ marking ->getPlaces ());
10094 }
10195
0 commit comments