package Ġcom . coin ninja . coin keeper . model . db . enums Ċ Ċ import Ġcom . google . common . truth . Truth . assertThat Ċ import Ġorg . junit . Test Ċ Ċ class ĠAccount Status Test Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġinit _ from _ string () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Account Status . from (" verified ")). isEqualTo ( Account Status . VER IFI ED ) ĊĠĠĠĠĠĠĠ ĠassertThat ( Account Status . from (" pending - verification ")). isEqualTo ( Account Status . PENDING _ VER IFICATION ) ĊĠĠĠĠĠĠĠ ĠassertThat ( Account Status . from (" random ")). isEqualTo ( Account Status . UN VER IFI ED ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġstatus _ to _ string () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Account Status . asString ( Account Status . UN VER IFI ED )). isEqualTo (" un verified ") ĊĠĠĠĠĠĠĠ ĠassertThat ( Account Status . asString ( Account Status . PENDING _ VER IFICATION )). isEqualTo (" pending - verification ") ĊĠĠĠĠĠĠĠ ĠassertThat ( Account Status . asString ( Account Status . VER IFI ED )). isEqualTo (" verified ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġordinal () Ġ{ ĊĠĠĠĠĠĠĠ ĠassertThat ( Account Status . UN VER IFI ED . id ). isEqualTo ( 0 ) ĊĠĠĠĠĠĠĠ ĠassertThat ( Account Status . PENDING _ VER IFICATION . id ). isEqualTo ( 1 0 ) ĊĠĠĠĠĠĠĠ ĠassertThat ( Account Status . VER IFI ED . id ). isEqualTo ( 1 0 0 ) ĊĠĠĠ Ġ} Ċ }