package Ġcom . atlassian . performance . tools . report . chart . water fall Ċ Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . junit . Test Ċ Ċ class ĠUtils Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Pretty Print Uri () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġutils Ġ= ĠUtils () ĊĠĠĠĠĠĠĠ Ġval Ġexpected Path Ġ= Ġ" some Path " ĊĠĠĠĠĠĠĠ Ġval Ġuri Ġ= Ġ" https :// www . google . com /$ expected Path " ĊĊĠĠĠĠĠĠĠ Ġval Ġactual Path Ġ= Ġutils . pretty Print ( uri ) ĊĊĠĠĠĠĠĠĠ ĠassertThat ( actual Path ). isEqualTo ( expected Path ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Pretty Print Uri For Long Path () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġutils Ġ= ĠUtils () ĊĠĠĠĠĠĠĠ Ġval Ġlong Path Ġ= Ġ" some Very Very V ey Very Long Path Which Is Re ally Re ally Re ally Long " ĊĠĠĠĠĠĠĠ Ġval Ġexpected Path Ġ= Ġ" some Very Very V ey Very Long Path ..." ĊĠĠĠĠĠĠĠ Ġval Ġuri Ġ= Ġ" https :// www . google . com /$ long Path " ĊĊĠĠĠĠĠĠĠ Ġval Ġactual Path Ġ= Ġutils . pretty Print ( uri ) ĊĊĠĠĠĠĠĠĠ ĠassertThat ( actual Path ). isEqualTo ( expected Path ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Pretty Print Uri Without Path () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġutils Ġ= ĠUtils () ĊĠĠĠĠĠĠĠ Ġval Ġscheme Specific Part Ġ= Ġ" svg + xml ; base 6 4 , PD 9 4 b W wg dm Vy " ĊĠĠĠĠĠĠĠ Ġval Ġuri Ġ= Ġ" data : image /$ scheme Specific Part " ĊĊĠĠĠĠĠĠĠ Ġval Ġactual Path Ġ= Ġutils . pretty Print ( uri ) ĊĊĠĠĠĠĠĠĠ ĠassertThat ( actual Path ). isEqualTo ( scheme Specific Part ) ĊĠĠĠ Ġ} Ċ } Ċ