diff --git a/tests/TypesTest.php b/tests/TypesTest.php
index eadd8250..3146df76 100644
--- a/tests/TypesTest.php
+++ b/tests/TypesTest.php
@@ -137,14 +137,14 @@ public function getMaxOccurences(): array
/**
* @dataProvider getMaxOccurences
*/
- public function testElementMaxOccurences($xml, $expected): void
+ public function testElementMaxOccurences($maxOccurs, $expected): void
{
$schema = $this->reader->readString(
'
-
+
'
@@ -159,14 +159,14 @@ public function testElementMaxOccurences($xml, $expected): void
/**
* @dataProvider getMinOccurencesOverride
*/
- public function testSequencMinOccursOverride($xml, $expected): void
+ public function testSequenceMinOccursOverride($sequenceMinOccurs, $childMinOccurs, $expected): void
{
$schema = $this->reader->readString(
'
-
-
+
+
'
@@ -181,16 +181,20 @@ public function testSequencMinOccursOverride($xml, $expected): void
public function getMinOccurencesOverride(): array
{
return [
- ['2', 2],
- ['1', 1],
- ['0', 0],
+ ['0', '2', 2],
+ ['3', '2', 3],
+ ['0', '1', 1],
+ ['1', '1', 1],
+ ['2', '1', 2],
+ ['0', '0', 0],
+ ['3', '0', 3],
];
}
/**
* @dataProvider getMaxOccurencesOverride
*/
- public function testSequencMaxOccursOverride($sequenceMaxOccurs, $childMaxOccurs, $expected): void
+ public function testSequenceMaxOccursOverride($sequenceMaxOccurs, $childMaxOccurs, $expected): void
{
$schema = $this->reader->readString(
'
@@ -233,14 +237,14 @@ public function getMinOccurences(): array
/**
* @dataProvider getMinOccurences
*/
- public function testElementMinOccurences($xml, $expected): void
+ public function testElementMinOccurences($minOccurs, $expected): void
{
$schema = $this->reader->readString(
'
-
+
'