We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 84-92 (lines=9) @@ | ||
81 | $this->assertEquals('Toto', $type->getWrappedType()); |
|
82 | } |
|
83 | ||
84 | public function testResolveWithNonNullListOfWrapper() |
|
85 | { |
|
86 | /** @var \GraphQL\Type\Definition\WrappingType $type */ |
|
87 | $type = $this->resolver->resolve('[Toto]!'); |
|
88 | ||
89 | $this->assertInstanceOf('GraphQL\Type\Definition\NonNull', $type); |
|
90 | $this->assertInstanceOf('GraphQL\Type\Definition\ListOfType', $type->getWrappedType()); |
|
91 | $this->assertEquals('Toto', $type->getWrappedType()->getWrappedType()); |
|
92 | } |
|
93 | ||
94 | public function testResolveWitListOfNonNullWrapper() |
|
95 | { |
|
@@ 94-102 (lines=9) @@ | ||
91 | $this->assertEquals('Toto', $type->getWrappedType()->getWrappedType()); |
|
92 | } |
|
93 | ||
94 | public function testResolveWitListOfNonNullWrapper() |
|
95 | { |
|
96 | /** @var \GraphQL\Type\Definition\WrappingType $type */ |
|
97 | $type = $this->resolver->resolve('[Toto!]'); |
|
98 | ||
99 | $this->assertInstanceOf('GraphQL\Type\Definition\ListOfType', $type); |
|
100 | $this->assertInstanceOf('GraphQL\Type\Definition\NonNull', $type->getWrappedType()); |
|
101 | $this->assertEquals('Toto', $type->getWrappedType()->getWrappedType()); |
|
102 | } |
|
103 | ||
104 | public function testResolveWitNonNullListOfNonNullWrapper() |
|
105 | { |
|
@@ 115-123 (lines=9) @@ | ||
112 | $this->assertEquals('Toto', $type->getWrappedType()->getWrappedType()->getWrappedType()); |
|
113 | } |
|
114 | ||
115 | public function testResolveWitListOfListOfWrapper() |
|
116 | { |
|
117 | /** @var \GraphQL\Type\Definition\WrappingType $type */ |
|
118 | $type = $this->resolver->resolve('[[Toto]]'); |
|
119 | ||
120 | $this->assertInstanceOf('GraphQL\Type\Definition\ListOfType', $type); |
|
121 | $this->assertInstanceOf('GraphQL\Type\Definition\ListOfType', $type->getWrappedType()); |
|
122 | $this->assertEquals('Toto', $type->getWrappedType()->getWrappedType()); |
|
123 | } |
|
124 | ||
125 | public function testResolveUsingSchema() |
|
126 | { |