We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 93-101 (lines=9) @@ | ||
90 | $this->assertEquals('Toto', $type->getWrappedType()); |
|
91 | } |
|
92 | ||
93 | public function testResolveWithNonNullListOfWrapper() |
|
94 | { |
|
95 | /** @var \GraphQL\Type\Definition\WrappingType $type */ |
|
96 | $type = $this->resolver->resolve('[Toto]!'); |
|
97 | ||
98 | $this->assertInstanceOf(NonNull::class, $type); |
|
99 | $this->assertInstanceOf(ListOfType::class, $type->getWrappedType()); |
|
100 | $this->assertEquals('Toto', $type->getWrappedType()->getWrappedType()); |
|
101 | } |
|
102 | ||
103 | public function testResolveWitListOfNonNullWrapper() |
|
104 | { |
|
@@ 103-111 (lines=9) @@ | ||
100 | $this->assertEquals('Toto', $type->getWrappedType()->getWrappedType()); |
|
101 | } |
|
102 | ||
103 | public function testResolveWitListOfNonNullWrapper() |
|
104 | { |
|
105 | /** @var \GraphQL\Type\Definition\WrappingType $type */ |
|
106 | $type = $this->resolver->resolve('[Toto!]'); |
|
107 | ||
108 | $this->assertInstanceOf(ListOfType::class, $type); |
|
109 | $this->assertInstanceOf(NonNull::class, $type->getWrappedType()); |
|
110 | $this->assertEquals('Toto', $type->getWrappedType()->getWrappedType()); |
|
111 | } |
|
112 | ||
113 | public function testResolveWitNonNullListOfNonNullWrapper() |
|
114 | { |
|
@@ 124-132 (lines=9) @@ | ||
121 | $this->assertEquals('Toto', $type->getWrappedType()->getWrappedType()->getWrappedType()); |
|
122 | } |
|
123 | ||
124 | public function testResolveWitListOfListOfWrapper() |
|
125 | { |
|
126 | /** @var \GraphQL\Type\Definition\WrappingType $type */ |
|
127 | $type = $this->resolver->resolve('[[Toto]]'); |
|
128 | ||
129 | $this->assertInstanceOf(ListOfType::class, $type); |
|
130 | $this->assertInstanceOf(ListOfType::class, $type->getWrappedType()); |
|
131 | $this->assertEquals('Toto', $type->getWrappedType()->getWrappedType()); |
|
132 | } |
|
133 | } |
|
134 |