package Ġ` in `. spec matic . core . value Ċ Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . junit . jupiter . api . Test Ċ import Ġ` in `. spec matic . core . pattern . is Pattern Token Ċ Ċ internal Ġclass ĠUse Example Declarations Test Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` should Ġnot Ġadd Ġpattern Ġvalues Ġas Ġexamples `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġexample Declaration Ġ= ĠUse Example Declarations (). plus ( Pair (" key ", Ġ"( string ) ")) ĊĠĠĠĠĠĠĠ ĠassertThat ( example Declaration . examples ). isEmpty () ĊĠĠĠĠĠĠĠ ĠassertThat ( example Declaration . plus ( Use Example Declarations ( map Of (" key " Ġto Ġ"( string ) ")) ). examples ). isEmpty () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` should Ġnot Ġcreate Ġnew Ġobject Ġwith Ġpattern Ġvalues `() Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( to Example Declaration ( map Of (" key " Ġto Ġ"( string ) ")). examples ). isEmpty () ĊĠĠĠ Ġ} Ċ } Ċ Ċ private Ġfun Ġto Example Declaration ( examples : ĠMap < String , ĠString >): ĠUse Example Declarations Ġ{ ĊĠĠĠ Ġreturn ĠUse Example Declarations ( examples . filter Not Ġ{ Ġis Pattern Token ( it . value ) Ġ}) Ċ } Ċ