public function testName() { $action =
(new OpenUriAction()) ->
name($value = 'My name'
);
$this->
assertSame($value,
$action->
toArray()['name'
]);
} public function testTargetWithDefaultValue() { $action =
(new OpenUriAction()) ->
target($uri = 'URI'
);
$this->
assertSame( [ ['os' => 'default', 'uri' =>
$uri],
],
$action->
toArray()['targets'
] );
} /**
* @dataProvider operatingSystems
*/