@@ -304,4 +304,330 @@ public function setSpaceBetweenBlocksProvidesFluentInterface(): void
304
304
{
305
305
self ::assertSame ($ this ->subject , $ this ->subject ->setSpaceBetweenBlocks (' ' ));
306
306
}
307
+
308
+ /**
309
+ * @test
310
+ */
311
+ public function getBeforeAtRuleBlockInitiallyReturnsEmptyString (): void
312
+ {
313
+ self ::assertSame ('' , $ this ->subject ->getBeforeAtRuleBlock ());
314
+ }
315
+
316
+ /**
317
+ * @test
318
+ */
319
+ public function setBeforeAtRuleBlockSetsBeforeAtRuleBlock (): void
320
+ {
321
+ $ value = ' ' ;
322
+ $ this ->subject ->setBeforeAtRuleBlock ($ value );
323
+
324
+ self ::assertSame ($ value , $ this ->subject ->getBeforeAtRuleBlock ());
325
+ }
326
+
327
+ /**
328
+ * @test
329
+ */
330
+ public function setBeforeAtRuleBlockProvidesFluentInterface (): void
331
+ {
332
+ self ::assertSame ($ this ->subject , $ this ->subject ->setBeforeAtRuleBlock (' ' ));
333
+ }
334
+
335
+ /**
336
+ * @test
337
+ */
338
+ public function getAfterAtRuleBlockInitiallyReturnsEmptyString (): void
339
+ {
340
+ self ::assertSame ('' , $ this ->subject ->getAfterAtRuleBlock ());
341
+ }
342
+
343
+ /**
344
+ * @test
345
+ */
346
+ public function setAfterAtRuleBlockSetsAfterAtRuleBlock (): void
347
+ {
348
+ $ value = ' ' ;
349
+ $ this ->subject ->setAfterAtRuleBlock ($ value );
350
+
351
+ self ::assertSame ($ value , $ this ->subject ->getAfterAtRuleBlock ());
352
+ }
353
+
354
+ /**
355
+ * @test
356
+ */
357
+ public function setAfterAtRuleBlockProvidesFluentInterface (): void
358
+ {
359
+ self ::assertSame ($ this ->subject , $ this ->subject ->setAfterAtRuleBlock (' ' ));
360
+ }
361
+
362
+ /**
363
+ * @test
364
+ */
365
+ public function getSpaceBeforeSelectorSeparatorInitiallyReturnsEmptyString (): void
366
+ {
367
+ self ::assertSame ('' , $ this ->subject ->getSpaceBeforeSelectorSeparator ());
368
+ }
369
+
370
+ /**
371
+ * @test
372
+ */
373
+ public function setSpaceBeforeSelectorSeparatorSetsSpaceBeforeSelectorSeparator (): void
374
+ {
375
+ $ value = ' ' ;
376
+ $ this ->subject ->setSpaceBeforeSelectorSeparator ($ value );
377
+
378
+ self ::assertSame ($ value , $ this ->subject ->getSpaceBeforeSelectorSeparator ());
379
+ }
380
+
381
+ /**
382
+ * @test
383
+ */
384
+ public function setSpaceBeforeSelectorSeparatorProvidesFluentInterface (): void
385
+ {
386
+ self ::assertSame ($ this ->subject , $ this ->subject ->setSpaceBeforeSelectorSeparator (' ' ));
387
+ }
388
+
389
+ /**
390
+ * @test
391
+ */
392
+ public function getSpaceAfterSelectorSeparatorInitiallyReturnsSpace (): void
393
+ {
394
+ self ::assertSame (' ' , $ this ->subject ->getSpaceAfterSelectorSeparator ());
395
+ }
396
+
397
+ /**
398
+ * @test
399
+ */
400
+ public function setSpaceAfterSelectorSeparatorSetsSpaceAfterSelectorSeparator (): void
401
+ {
402
+ $ value = ' ' ;
403
+ $ this ->subject ->setSpaceAfterSelectorSeparator ($ value );
404
+
405
+ self ::assertSame ($ value , $ this ->subject ->getSpaceAfterSelectorSeparator ());
406
+ }
407
+
408
+ /**
409
+ * @test
410
+ */
411
+ public function setSpaceAfterSelectorSeparatorProvidesFluentInterface (): void
412
+ {
413
+ self ::assertSame ($ this ->subject , $ this ->subject ->setSpaceAfterSelectorSeparator (' ' ));
414
+ }
415
+
416
+ /**
417
+ * @test
418
+ */
419
+ public function getSpaceBeforeListArgumentSeparatorInitiallyReturnsEmptyString (): void
420
+ {
421
+ self ::assertSame ('' , $ this ->subject ->getSpaceBeforeListArgumentSeparator ());
422
+ }
423
+
424
+ /**
425
+ * @test
426
+ */
427
+ public function setSpaceBeforeListArgumentSeparatorSetsSpaceBeforeListArgumentSeparator (): void
428
+ {
429
+ $ value = ' ' ;
430
+ $ this ->subject ->setSpaceBeforeListArgumentSeparator ($ value );
431
+
432
+ self ::assertSame ($ value , $ this ->subject ->getSpaceBeforeListArgumentSeparator ());
433
+ }
434
+
435
+ /**
436
+ * @test
437
+ */
438
+ public function setSpaceBeforeListArgumentSeparatorProvidesFluentInterface (): void
439
+ {
440
+ self ::assertSame ($ this ->subject , $ this ->subject ->setSpaceBeforeListArgumentSeparator (' ' ));
441
+ }
442
+
443
+ /**
444
+ * @test
445
+ */
446
+ public function getSpaceAfterListArgumentSeparatorInitiallyReturnsEmptyString (): void
447
+ {
448
+ self ::assertSame ('' , $ this ->subject ->getSpaceAfterListArgumentSeparator ());
449
+ }
450
+
451
+ /**
452
+ * @test
453
+ */
454
+ public function setSpaceAfterListArgumentSeparatorSetsSpaceAfterListArgumentSeparator (): void
455
+ {
456
+ $ value = ' ' ;
457
+ $ this ->subject ->setSpaceAfterListArgumentSeparator ($ value );
458
+
459
+ self ::assertSame ($ value , $ this ->subject ->getSpaceAfterListArgumentSeparator ());
460
+ }
461
+
462
+ /**
463
+ * @test
464
+ */
465
+ public function setSpaceAfterListArgumentSeparatorProvidesFluentInterface (): void
466
+ {
467
+ self ::assertSame ($ this ->subject , $ this ->subject ->setSpaceAfterListArgumentSeparator (' ' ));
468
+ }
469
+
470
+ /**
471
+ * @test
472
+ */
473
+ public function getBeforeDeclarationBlockInitiallyReturnsEmptyString (): void
474
+ {
475
+ self ::assertSame ('' , $ this ->subject ->getBeforeDeclarationBlock ());
476
+ }
477
+
478
+ /**
479
+ * @test
480
+ */
481
+ public function setBeforeDeclarationBlockSetsBeforeDeclarationBlock (): void
482
+ {
483
+ $ value = ' ' ;
484
+ $ this ->subject ->setBeforeDeclarationBlock ($ value );
485
+
486
+ self ::assertSame ($ value , $ this ->subject ->getBeforeDeclarationBlock ());
487
+ }
488
+
489
+ /**
490
+ * @test
491
+ */
492
+ public function setBeforeDeclarationBlockProvidesFluentInterface (): void
493
+ {
494
+ self ::assertSame ($ this ->subject , $ this ->subject ->setBeforeDeclarationBlock (' ' ));
495
+ }
496
+
497
+ /**
498
+ * @test
499
+ */
500
+ public function getAfterDeclarationBlockSelectorsInitiallyReturnsEmptyString (): void
501
+ {
502
+ self ::assertSame ('' , $ this ->subject ->getAfterDeclarationBlockSelectors ());
503
+ }
504
+
505
+ /**
506
+ * @test
507
+ */
508
+ public function setAfterDeclarationBlockSelectorsSetsAfterDeclarationBlockSelectors (): void
509
+ {
510
+ $ value = ' ' ;
511
+ $ this ->subject ->setAfterDeclarationBlockSelectors ($ value );
512
+
513
+ self ::assertSame ($ value , $ this ->subject ->getAfterDeclarationBlockSelectors ());
514
+ }
515
+
516
+ /**
517
+ * @test
518
+ */
519
+ public function setAfterDeclarationBlockSelectorsProvidesFluentInterface (): void
520
+ {
521
+ self ::assertSame ($ this ->subject , $ this ->subject ->setAfterDeclarationBlockSelectors (' ' ));
522
+ }
523
+
524
+ /**
525
+ * @test
526
+ */
527
+ public function getAfterDeclarationBlockInitiallyReturnsEmptyString (): void
528
+ {
529
+ self ::assertSame ('' , $ this ->subject ->getAfterDeclarationBlock ());
530
+ }
531
+
532
+ /**
533
+ * @test
534
+ */
535
+ public function setAfterDeclarationBlockSetsAfterDeclarationBlock (): void
536
+ {
537
+ $ value = ' ' ;
538
+ $ this ->subject ->setAfterDeclarationBlock ($ value );
539
+
540
+ self ::assertSame ($ value , $ this ->subject ->getAfterDeclarationBlock ());
541
+ }
542
+
543
+ /**
544
+ * @test
545
+ */
546
+ public function setAfterDeclarationBlockProvidesFluentInterface (): void
547
+ {
548
+ self ::assertSame ($ this ->subject , $ this ->subject ->setAfterDeclarationBlock (' ' ));
549
+ }
550
+
551
+ /**
552
+ * @test
553
+ */
554
+ public function getIndentationInitiallyReturnsTab (): void
555
+ {
556
+ self ::assertSame ("\t" , $ this ->subject ->getIndentation ());
557
+ }
558
+
559
+ /**
560
+ * @test
561
+ */
562
+ public function setIndentationSetsIndentation (): void
563
+ {
564
+ $ value = ' ' ;
565
+ $ this ->subject ->setIndentation ($ value );
566
+
567
+ self ::assertSame ($ value , $ this ->subject ->getIndentation ());
568
+ }
569
+
570
+ /**
571
+ * @test
572
+ */
573
+ public function setIndentationProvidesFluentInterface (): void
574
+ {
575
+ self ::assertSame ($ this ->subject , $ this ->subject ->setIndentation (' ' ));
576
+ }
577
+
578
+ /**
579
+ * @test
580
+ */
581
+ public function getIgnoreExceptionsInitiallyReturnsFalse (): void
582
+ {
583
+ self ::assertFalse ($ this ->subject ->getIgnoreExceptions ());
584
+ }
585
+
586
+ /**
587
+ * @test
588
+ *
589
+ * @dataProvider provideBooleans
590
+ */
591
+ public function setIgnoreExceptionsSetsIgnoreExceptions (bool $ value ): void
592
+ {
593
+ $ this ->subject ->setIgnoreExceptions ($ value );
594
+
595
+ self ::assertSame ($ value , $ this ->subject ->getIgnoreExceptions ());
596
+ }
597
+
598
+ /**
599
+ * @test
600
+ */
601
+ public function setIgnoreExceptionsProvidesFluentInterface (): void
602
+ {
603
+ self ::assertSame ($ this ->subject , $ this ->subject ->setIgnoreExceptions (true ));
604
+ }
605
+
606
+ /**
607
+ * @test
608
+ */
609
+ public function getRenderCommentsInitiallyReturnsFalse (): void
610
+ {
611
+ self ::assertFalse ($ this ->subject ->getRenderComments ());
612
+ }
613
+
614
+ /**
615
+ * @test
616
+ *
617
+ * @dataProvider provideBooleans
618
+ */
619
+ public function setRenderCommentsSetsRenderComments (bool $ value ): void
620
+ {
621
+ $ this ->subject ->setRenderComments ($ value );
622
+
623
+ self ::assertSame ($ value , $ this ->subject ->getRenderComments ());
624
+ }
625
+
626
+ /**
627
+ * @test
628
+ */
629
+ public function setRenderCommentsProvidesFluentInterface (): void
630
+ {
631
+ self ::assertSame ($ this ->subject , $ this ->subject ->setRenderComments (true ));
632
+ }
307
633
}
0 commit comments