package Ġorg . simple . clin ic . new entry . form Ċ Ċ import Ġcom . google . common . truth . Truth . assertThat Ċ import Ġorg . junit . Test Ċ Ċ class ĠBusiness Identifier Field Test Ġ{ ĊĠ Ġprivate Ġval Ġbusiness Identifier Field Ġ= ĠBusiness Identifier Field () ĊĊĠ Ġ@ Test ĊĠ Ġfun Ġ` it Ġreturns Ġan Ġempty Ġlist Ġwhen Ġthe Ġfield Ġis Ġnon - empty `() Ġ{ ĊĠĠĠ ĠassertThat ( business Identifier Field . validate (" 1 2 3 4 5 6 7 8 ")) ĊĠĠĠĠĠĠĠ Ġ. isEmpty () ĊĠ Ġ} ĊĊĠ Ġ@ Test ĊĠ Ġfun Ġ` it Ġreturns Ġa Ġmissing Ġvalue Ġerror Ġwhen Ġthe Ġfield Ġis Ġempty `() Ġ{ ĊĠĠĠ ĠassertThat ( business Identifier Field . validate ("")) ĊĠĠĠĠĠĠĠ Ġ. contains Exactly ( ValidationError . Missing Value ) ĊĠ Ġ} ĊĊĠ Ġ@ Test ĊĠ Ġfun Ġ` it Ġreturns Ġa Ġmissing Ġvalue Ġerror Ġwhen Ġthe Ġfield Ġis Ġblank `() Ġ{ ĊĠĠĠ ĠassertThat ( business Identifier Field . validate (" ĠĠĠ Ġ")) ĊĠĠĠĠĠĠĠ Ġ. contains Exactly ( ValidationError . Missing Value ) ĊĠ Ġ} Ċ } Ċ