package Ġcom . ew ings a . o hy eah . con versations . view models Ċ Ċ 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 . Before Ċ import Ġorg . junit . Test Ċ Ċ class ĠCon versation Screen ViewModel Test Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġinteractions : ĠCon versations Screen ViewModel . Interactions Ġ= Ġmock () ĊĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġconversations Screen ViewModel : ĠCon versations Screen ViewModel ĊĊĠĠĠ Ġ@ Before ĊĠĠĠ Ġfun Ġsetup () Ġ{ ĊĠĠĠĠĠĠĠ Ġconversations Screen ViewModel Ġ= ĠCon versations Screen ViewModel ( inter actions ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest On Info Press () Ġ{ ĊĠĠĠĠĠĠĠ Ġconversations Screen ViewModel . on Info Press . onClick ( mock ()) ĊĊĠĠĠĠĠĠĠ Ġverify ( inter actions ). on Info Press () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest On New Press () Ġ{ ĊĠĠĠĠĠĠĠ Ġconversations Screen ViewModel . on New Press . onClick ( mock ()) ĊĊĠĠĠĠĠĠĠ Ġverify ( inter actions ). on New Press () ĊĠĠĠ Ġ} Ċ } Ċ