package Ġorg . code to me . z ir con . api . builder Ċ Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . code to me . z ir con . api . Position Ċ import Ġorg . code to me . z ir con . api . Size Ċ import Ġorg . code to me . z ir con . api . builder . Text Character Builder Ċ import Ġorg . code to me . z ir con . api . builder . Text Image Builder Ċ import Ġorg . junit . Test Ċ Ċ class ĠText Image Builder Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Build Pro per Text Image () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġresult Ġ= ĠText Image Builder . newBuilder () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. fill er ( FIL LER ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. to Copy ( array Of ( array Of ( COPY _ CHAR ))) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. size ( SIZE ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. build () ĊĊĠĠĠĠĠĠĠ ĠassertThat ( result . get Bound able Size ()). isEqualTo ( SIZE ) ĊĠĠĠĠĠĠĠ ĠassertThat ( result . get Character At ( Position . DEFAULT _ POSITION ). get ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. isEqualTo ( COPY _ CHAR ) ĊĊĠĠĠĠĠĠĠ ĠassertThat ( result . get Character At ( Position ( SIZE . columns Ġ- Ġ 1 , ĠSIZE . rows Ġ- Ġ 1 )). get ()) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. isEqualTo ( FIL LER ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġval ĠFIL LER Ġ= ĠText Character Builder . newBuilder (). character (' a '). build () ĊĠĠĠĠĠĠĠ Ġval ĠCOPY _ CHAR Ġ= ĠText Character Builder . newBuilder (). character (' b '). build () ĊĠĠĠĠĠĠĠ Ġval ĠSIZE Ġ= ĠSize ( 5 , Ġ 5 ) ĊĠĠĠ Ġ} Ċ }