@@ -61,19 +61,13 @@ protected function mockSchema(object $jsonSchema): ObjectProphecy
61
61
return $ schema ;
62
62
}
63
63
64
- /**
65
- * @covers \JsonSchema\Schema\AbstractSchema::create
66
- */
67
64
public function testCreate (): void
68
65
{
69
66
$ schema = static ::getSchemaClass ()::create ();
70
67
71
68
static ::assertJsonSchemaEquals ([], $ schema ->toJsonSchema ());
72
69
}
73
70
74
- /**
75
- * @covers \JsonSchema\Schema\AbstractSchema::with
76
- */
77
71
public function testWith (): void
78
72
{
79
73
$ keyword1 = $ this ->mockKeyword ('foo ' , 'bar ' );
@@ -94,9 +88,6 @@ public function testWith(): void
94
88
static ::assertJsonSchemaEquals (['foo ' => null ], $ schema5 ->toJsonSchema ());
95
89
}
96
90
97
- /**
98
- * @covers \JsonSchema\Schema\AbstractSchema::comment
99
- */
100
91
public function testComment (): void
101
92
{
102
93
$ schema1 = static ::createSchema ();
@@ -108,9 +99,6 @@ public function testComment(): void
108
99
static ::assertJsonSchemaEquals ([], $ schema3 ->toJsonSchema ());
109
100
}
110
101
111
- /**
112
- * @covers \JsonSchema\Schema\AbstractSchema::title
113
- */
114
102
public function testTitle (): void
115
103
{
116
104
$ schema1 = static ::createSchema ();
@@ -122,9 +110,6 @@ public function testTitle(): void
122
110
static ::assertJsonSchemaEquals ([], $ schema3 ->toJsonSchema ());
123
111
}
124
112
125
- /**
126
- * @covers \JsonSchema\Schema\AbstractSchema::description
127
- */
128
113
public function testDescription (): void
129
114
{
130
115
$ schema1 = static ::createSchema ();
@@ -136,9 +121,6 @@ public function testDescription(): void
136
121
static ::assertJsonSchemaEquals ([], $ schema3 ->toJsonSchema ());
137
122
}
138
123
139
- /**
140
- * @covers \JsonSchema\Schema\AbstractSchema::deprecated
141
- */
142
124
public function testDeprecated (): void
143
125
{
144
126
$ schema1 = static ::createSchema ();
@@ -152,9 +134,6 @@ public function testDeprecated(): void
152
134
static ::assertJsonSchemaEquals ([], $ schema4 ->toJsonSchema ());
153
135
}
154
136
155
- /**
156
- * @covers \JsonSchema\Schema\AbstractSchema::readOnly
157
- */
158
137
public function testReadOnly (): void
159
138
{
160
139
$ schema1 = static ::createSchema ();
@@ -168,9 +147,6 @@ public function testReadOnly(): void
168
147
static ::assertJsonSchemaEquals ([], $ schema4 ->toJsonSchema ());
169
148
}
170
149
171
- /**
172
- * @covers \JsonSchema\Schema\AbstractSchema::writeOnly
173
- */
174
150
public function testWriteOnly (): void
175
151
{
176
152
$ schema1 = static ::createSchema ();
@@ -184,9 +160,6 @@ public function testWriteOnly(): void
184
160
static ::assertJsonSchemaEquals ([], $ schema4 ->toJsonSchema ());
185
161
}
186
162
187
- /**
188
- * @covers \JsonSchema\Schema\AbstractSchema::default
189
- */
190
163
public function testDefault (): void
191
164
{
192
165
$ schema1 = static ::createSchema ();
@@ -210,9 +183,6 @@ public function testDefault(): void
210
183
static ::assertJsonSchemaEquals (['default ' => null ], $ schema9 ->toJsonSchema ());
211
184
}
212
185
213
- /**
214
- * @covers \JsonSchema\Schema\AbstractSchema::examples
215
- */
216
186
public function testExamples (): void
217
187
{
218
188
$ schema1 = static ::createSchema ();
@@ -242,9 +212,6 @@ public function testExamples(): void
242
212
static ::assertJsonSchemaEquals ([], $ schema3 ->toJsonSchema ());
243
213
}
244
214
245
- /**
246
- * @covers \JsonSchema\Schema\AbstractSchema::anyOf
247
- */
248
215
public function testAnyOf (): void
249
216
{
250
217
$ anyOf1 = $ this ->mockSchema ((object ) ['foo ' => 'bar ' ]);
@@ -266,9 +233,6 @@ public function testAnyOf(): void
266
233
static ::assertJsonSchemaEquals ([], $ schema4 ->toJsonSchema ());
267
234
}
268
235
269
- /**
270
- * @covers \JsonSchema\Schema\AbstractSchema::allOf
271
- */
272
236
public function testAllOf (): void
273
237
{
274
238
$ allOf1 = $ this ->mockSchema ((object ) ['foo ' => 'bar ' ]);
@@ -290,9 +254,6 @@ public function testAllOf(): void
290
254
static ::assertJsonSchemaEquals ([], $ schema4 ->toJsonSchema ());
291
255
}
292
256
293
- /**
294
- * @covers \JsonSchema\Schema\AbstractSchema::oneOf
295
- */
296
257
public function testOneOf (): void
297
258
{
298
259
$ oneOf1 = $ this ->mockSchema ((object ) ['foo ' => 'bar ' ]);
@@ -314,9 +275,6 @@ public function testOneOf(): void
314
275
static ::assertJsonSchemaEquals ([], $ schema4 ->toJsonSchema ());
315
276
}
316
277
317
- /**
318
- * @covers \JsonSchema\Schema\AbstractSchema::not
319
- */
320
278
public function testNot (): void
321
279
{
322
280
$ not = $ this ->mockSchema ((object ) ['foo ' => 'bar ' ]);
@@ -330,9 +288,6 @@ public function testNot(): void
330
288
static ::assertJsonSchemaEquals ([], $ schema3 ->toJsonSchema ());
331
289
}
332
290
333
- /**
334
- * @covers \JsonSchema\Schema\AbstractSchema::if
335
- */
336
291
public function testIf (): void
337
292
{
338
293
$ if = $ this ->mockSchema ((object ) ['foo ' => 'bar ' ]);
@@ -346,9 +301,6 @@ public function testIf(): void
346
301
static ::assertJsonSchemaEquals ([], $ schema3 ->toJsonSchema ());
347
302
}
348
303
349
- /**
350
- * @covers \JsonSchema\Schema\AbstractSchema::then
351
- */
352
304
public function testThen (): void
353
305
{
354
306
$ then = $ this ->mockSchema ((object ) ['foo ' => 'bar ' ]);
@@ -362,9 +314,6 @@ public function testThen(): void
362
314
static ::assertJsonSchemaEquals ([], $ schema3 ->toJsonSchema ());
363
315
}
364
316
365
- /**
366
- * @covers \JsonSchema\Schema\AbstractSchema::else
367
- */
368
317
public function testElse (): void
369
318
{
370
319
$ else = $ this ->mockSchema ((object ) ['foo ' => 'bar ' ]);
@@ -378,9 +327,6 @@ public function testElse(): void
378
327
static ::assertJsonSchemaEquals ([], $ schema3 ->toJsonSchema ());
379
328
}
380
329
381
- /**
382
- * @covers \JsonSchema\Schema\AbstractSchema::const
383
- */
384
330
public function testConst (): void
385
331
{
386
332
$ schema1 = static ::createSchema ();
@@ -404,9 +350,6 @@ public function testConst(): void
404
350
static ::assertJsonSchemaEquals (['const ' => null ], $ schema9 ->toJsonSchema ());
405
351
}
406
352
407
- /**
408
- * @covers \JsonSchema\Schema\AbstractSchema::enum
409
- */
410
353
public function testEnum (): void
411
354
{
412
355
$ schema1 = static ::createSchema ();
@@ -436,9 +379,6 @@ public function testEnum(): void
436
379
static ::assertJsonSchemaEquals ([], $ schema3 ->toJsonSchema ());
437
380
}
438
381
439
- /**
440
- * @covers \JsonSchema\Schema\AbstractSchema::toJsonSchema
441
- */
442
382
public function testToJsonSchema (): void
443
383
{
444
384
$ keyword1 = $ this ->mockKeyword ('foo ' , 'bar ' );
0 commit comments