package Ġco . net guru . b aby . monitor . client . feature . on boarding Ċ Ċ import Ġco . net guru . b aby . monitor . client . data . Data Repository Ċ import Ġco . net guru . b aby . monitor . client . data . splash . AppState Ċ import Ġcom . n ha ar man . mock it ok otlin 2 . mock Ċ import Ġcom . n ha ar man . mock it ok otlin 2 . verify Ċ import Ġorg . junit . Test Ċ Ċ class ĠFinish On boarding UseCase Test Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġdata Repository Ġ= Ġmock < Data Repository >() ĊĠĠĠ Ġprivate Ġval Ġfinish On boarding UseCase Ġ= ĠFinish On boarding UseCase ( data Repository ) ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` should Ġsave Ġundefined Ġstate `() Ġ{ ĊĠĠĠĠĠĠĠ Ġfinish On boarding UseCase . finish On boarding () ĊĊĠĠĠĠĠĠĠ Ġverify ( data Repository ). save Configuration ( AppState . UNDEFINED ) ĊĠĠĠ Ġ} Ċ } Ċ