package Ġio . gitlab . art urb os ch . de te kt . generator . printer . default config Ċ Ċ import Ġio . github . de te kt . test . utils . read Resource Content Ċ import Ġio . gitlab . art urb os ch . de te kt . generator . util . create Rule Set Page Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ class ĠConfig Printer Spec Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġrule Set Page Ġ= Ġcreate Rule Set Page () ĊĠĠĠ Ġprivate Ġval Ġyaml String Ġ= ĠConfig Printer . print ( listOf ( rule Set Page )) ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` prints Ġthe Ġrule Ġset Ġin Ġthe Ġcorrect Ġyaml Ġformat `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġexpected Rule Part Ġ= Ġread Resource Content (" Rule Set Config . yml ") ĊĊĠĠĠĠĠĠĠ ĠassertThat ( yaml String ). contains ( expected Rule Part ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` prints Ġdefault Ġbuild Ġconfiguration `() Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( yaml String ). contains (" build :") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` prints Ġdefault Ġconfig Ġconfiguration `() Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( yaml String ). contains (" config :") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` prints Ġdefault Ġprocessor Ġconfiguration `() Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( yaml String ). contains (" processors :") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` prints Ġdefault Ġreport Ġconfiguration `() Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( yaml String ). contains (" output - reports :") ĊĠĠĠĠĠĠĠ ĠassertThat ( yaml String ). contains (" console - reports :") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` om its Ġdeprecated Ġrule set Ġproperties `() Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( yaml String ). does Not Contain (" deprecated Simple Config ") ĊĠĠĠĠĠĠĠ ĠassertThat ( yaml String ). does Not Contain (" deprecated List Config ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` om its Ġdeprecated Ġrule Ġproperties `() Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( yaml String ). does Not Contain (" conf 2 ") ĊĠĠĠĠĠĠĠ ĠassertThat ( yaml String ). does Not Contain (" conf 4 ") ĊĠĠĠ Ġ} Ċ } Ċ