package Ġorg . hex works . z ir con . api . data Ċ Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . hex works . z ir con . api . builder . data . Tile Builder Ċ import Ġorg . hex works . z ir con . api . builder . graphics . Style Set Builder Ċ import Ġorg . hex works . z ir con . api . color . ANS IT ile Color Ċ import Ġorg . hex works . z ir con . api . color . ANS IT ile Color .* Ċ import Ġorg . hex works . z ir con . api . color . Tile Color Ċ import Ġorg . hex works . z ir con . api . modifier . Simple Modifiers .* Ċ import Ġorg . hex works . z ir con . api . Modifiers Ċ import Ġorg . junit . Test Ċ Ċ @ Suppress (" Use Property Access Syntax ") Ċ class ĠDefault Tile Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Generate Pro per CacheKey () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġresult Ġ= ĠTile Builder . newBuilder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. character (' x ') ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. backgroundColor ( ANS IT ile Color . GREEN ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. foreground Color ( Tile Color . fromString ("# aabb cc ")) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. modifiers ( Vertical Flip ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. generate CacheKey () ĊĊĠĠĠĠĠĠĠ ĠassertThat ( result ). isEqualTo (" Character Tile ( c = x , s = Style Set ( fg = TextColor ( r = 1 7 0 , g = 1 8 7 , b = 2 0 4 , a = 2 5 5 ), bg = TextColor ( r = 0 , g = 1 7 0 , b = 0 , a = 2 5 5 ), m =[ Modifier . Vertical Flip ])) ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġdefault Character ShouldBe EmptyString With Black And White And No Modifiers () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile . default Tile (). character ). isEqualTo (' Ġ') ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile . default Tile (). get BackgroundColor ()). isEqualTo ( BLACK ) ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile . default Tile (). get ForegroundColor ()). isEqualTo ( WHITE ) ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile . default Tile (). get Modifiers ()). isEmpty () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Pro per ly Report Having AB order When There Is Border () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile Builder . newBuilder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. modifiers ( Modifiers . border ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build (). has Border ()). isTrue () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Pro per ly Report Having AB order When There Is No Border () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile Builder . newBuilder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build (). has Border ()). isFalse () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Not Be Empty When NotEmpty () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile . default Tile (). isNotEmpty ()). isTrue () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun ĠshouldBe Empty When Empty () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile . empty (). isNotEmpty ()). isFalse () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Pro per ly Remove Modifiers When Without Modifiers Is Called () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile Builder . newBuilder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. modifiers ( Modifiers . cros sed Out ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. without Modifiers ( set Of ( Modifiers . cros sed Out ())) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. get Modifiers ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. isEmpty () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Pro per ly Create CopyWith Style When With Style Is Called () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġstyle Ġ= ĠStyle Set Builder . newBuilder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. foreground Color ( ANS IT ile Color . BLUE ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. backgroundColor ( ANS IT ile Color . CY AN ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. modifiers ( Modifiers . cros sed Out ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĊĠĠĠĠĠĠĠ Ġval Ġcopy Ġ= ĠTile Builder . newBuilder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. with Style ( style ) ĊĊĠĠĠĠĠĠĠ ĠassertThat ( copy . get Modifiers ()). isEqualTo ( style . modifiers ()) ĊĠĠĠĠĠĠĠ ĠassertThat ( copy . get BackgroundColor ()). isEqualTo ( style . backgroundColor ()) ĊĠĠĠĠĠĠĠ ĠassertThat ( copy . get ForegroundColor ()). isEqualTo ( style . foreground Color ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġbold Modifier ShouldBe Bold () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile Builder . newBuilder (). modifiers ( Modifiers . cros sed Out ()). build (). is C ros sed Out ()). isTrue () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġunder lined Modifier ShouldBe Under lined () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile Builder . newBuilder (). modifiers ( Modifiers . underline ()). build (). is Under lined ()). isTrue () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġcros sed Out Modifier ShouldBe C ros sed Out () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile Builder . newBuilder (). modifiers ( Modifiers . cros sed Out ()). build (). is C ros sed Out ()). isTrue () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġitalic Modifier ShouldBe Italic () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile Builder . newBuilder (). modifiers ( Modifiers . vertical Flip ()). build (). is Vertical F lipped ()). isTrue () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġblink ing Modifier ShouldBe B linking () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile Builder . newBuilder (). modifiers ( Modifiers . blink ()). build (). is B linking ()). isTrue () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun ĠshouldBe Same But With Char Changed When With Char Is Called () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile . create Character Tile ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcharacter Ġ= Ġ' a ', ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġstyle Ġ= ĠStyle Set Builder . newBuilder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. foreground Color ( EXPECTED _ FG _ COLOR ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. backgroundColor ( EXPECTED _ BG _ COLOR ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. modifiers ( EXPECTED _ MODI FI ERS ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. with Character ( EXPECTED _ CHAR )) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. isEqualTo ( EXPECTED _ TEXT _ CHARACTER ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun ĠshouldBe Same But With FG Changed When With ForegroundColor Is Called () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile . create Character Tile ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcharacter Ġ= ĠEXPECT ED _ CHAR , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġstyle Ġ= ĠStyle Set Builder . newBuilder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. foreground Color ( GREEN ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. backgroundColor ( EXPECTED _ BG _ COLOR ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. modifiers ( EXPECTED _ MODI FI ERS ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. with ForegroundColor ( EXPECTED _ FG _ COLOR )) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. isEqualTo ( EXPECTED _ TEXT _ CHARACTER ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun ĠshouldBe Same But With BG Changed When With BackgroundColor Is Called () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile . create Character Tile ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcharacter Ġ= ĠEXPECT ED _ CHAR , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġstyle Ġ= ĠStyle Set Builder . newBuilder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. foreground Color ( EXPECTED _ FG _ COLOR ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. backgroundColor ( RED ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. modifiers ( EXPECTED _ MODI FI ERS ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. with BackgroundColor ( EXPECTED _ BG _ COLOR )) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. isEqualTo ( EXPECTED _ TEXT _ CHARACTER ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun ĠshouldBe Same But With Modifiers Changed When With Modifiers Is Called () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile . create Character Tile ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcharacter Ġ= ĠEXPECT ED _ CHAR , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġstyle Ġ= ĠStyle Set Builder . newBuilder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. foreground Color ( EXPECTED _ FG _ COLOR ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. backgroundColor ( EXPECTED _ BG _ COLOR ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. modifiers ( set Of ( B link )) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. with Modifiers ( EXPECTED _ MODI FI ERS )). isEqualTo ( EXPECTED _ TEXT _ CHARACTER ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun ĠshouldBe Same But With Modifier Removed When With Modifier Is Called () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile . create Character Tile ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcharacter Ġ= ĠEXPECT ED _ CHAR , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġstyle Ġ= ĠStyle Set Builder . newBuilder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. foreground Color ( EXPECTED _ FG _ COLOR ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. backgroundColor ( EXPECTED _ BG _ COLOR ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. modifiers ( set Of ( C ros sed Out )) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. with Modifiers ( Modifiers . vertical Flip ())). isEqualTo ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠTile . create Character Tile ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcharacter Ġ= ĠEXPECT ED _ CHAR , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġstyle Ġ= ĠStyle Set Builder . newBuilder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. foreground Color ( EXPECTED _ FG _ COLOR ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. backgroundColor ( EXPECTED _ BG _ COLOR ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. modifiers ( set Of ( Vertical Flip )) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ())) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun ĠshouldBe Same But With Modifier Removed When Without Modifier Is Called () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Tile . create Character Tile ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcharacter Ġ= ĠEXPECT ED _ CHAR , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġstyle Ġ= ĠStyle Set Builder . newBuilder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. foreground Color ( EXPECTED _ FG _ COLOR ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. backgroundColor ( EXPECTED _ BG _ COLOR ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. modifiers ( set Of ( Modifiers . cros sed Out (), ĠMod ifiers . vertical Flip (), ĠMod ifiers . blink ())) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. without Modifiers ( Modifiers . blink ())) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. isEqualTo ( EXPECTED _ TEXT _ CHARACTER ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Return Same Text Character When With Char Is Called With Same Char () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( EXPECTED _ TEXT _ CHARACTER . with Character ( EXPECTED _ CHAR )) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. is Same As ( EXPECTED _ TEXT _ CHARACTER ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Return Same Text Character When With FG Color Is Called With Same FG Color () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( EXPECTED _ TEXT _ CHARACTER . with ForegroundColor ( EXPECTED _ FG _ COLOR )) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. is Same As ( EXPECTED _ TEXT _ CHARACTER ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Return Same Text Character When With BG Color Is Called With Same BG Color () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( EXPECTED _ TEXT _ CHARACTER . with BackgroundColor ( EXPECTED _ BG _ COLOR )) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. is Same As ( EXPECTED _ TEXT _ CHARACTER ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Return Same Text Character When With Modifier Is Called With Same Modifier () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( EXPECTED _ TEXT _ CHARACTER . with Modifiers ( Modifiers . cros sed Out (), ĠMod ifiers . vertical Flip ())) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. is Same As ( EXPECTED _ TEXT _ CHARACTER ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Return Same Text Character When With Modifier S Is Called With Same Modifier S () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( EXPECTED _ TEXT _ CHARACTER . with Modifiers ( EXPECTED _ MODI FI ERS )) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. is Same As ( EXPECTED _ TEXT _ CHARACTER ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Return Same Text Character When Without Modifier Is Called With Non Present Modifier () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( EXPECTED _ TEXT _ CHARACTER . without Modifiers ( Modifiers . blink ())) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. is Same As ( EXPECTED _ TEXT _ CHARACTER ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġval ĠEXPECT ED _ CHAR Ġ= Ġ' x ' ĊĠĠĠĠĠĠĠ Ġval ĠEXPECT ED _ FG _ COLOR Ġ= ĠTile Color . fromString ("# aabb cc ") ĊĠĠĠĠĠĠĠ Ġval ĠEXPECT ED _ BG _ COLOR Ġ= ĠTile Color . fromString ("# 2 2 3 3 4 4 ") ĊĠĠĠĠĠĠĠ Ġval ĠEXPECT ED _ MODI FI ERS Ġ= Ġset Of ( Modifiers . cros sed Out (), ĠMod ifiers . vertical Flip ()) ĊĊĠĠĠĠĠĠĠ Ġval ĠEXPECT ED _ TEXT _ CHARACTER Ġ= ĠTile . create Character Tile ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcharacter Ġ= ĠEXPECT ED _ CHAR , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġstyle Ġ= ĠStyle Set Builder . newBuilder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. foreground Color ( EXPECTED _ FG _ COLOR ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. backgroundColor ( EXPECTED _ BG _ COLOR ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. modifiers ( EXPECTED _ MODI FI ERS ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build ()) ĊĠĠĠ Ġ} Ċ Ċ } Ċ