package Ġcom . cam eron vw illi ams . raise . ui . intro . present ers Ċ Ċ import Ġcom . cam eron vw illi ams . raise . ui . Navigator Ċ import Ġorg . junit . After Ċ import Ġorg . junit . Before Ċ import Ġorg . junit . Test Ċ import Ġorg . mockito . Mock Ċ import Ġorg . mockito . Mockito . verify Ċ import Ġorg . mockito . Mockito Annotations Ċ Ċ class ĠIntro Presenter Test Ġ{ ĊĊĠĠĠ Ġ@ Mock Ġprivate Ġlateinit Ġvar Ġnavigator : ĠNavigator ĊĠĠĠ Ġ@ Mock Ġprivate Ġlateinit Ġvar Ġintro View : ĠIntro Contract . Intro View Actions ĊĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġintro Presenter : ĠIntro Contract . Intro User Actions ĊĊĠĠĠ Ġ@ Before Ġfun Ġsetup () Ġ{ ĊĠĠĠĠĠĠĠ ĠMockito Annotations . init Mocks ( this ) ĊĊĠĠĠĠĠĠĠ Ġintro Presenter Ġ= ĠIntro Presenter ( navigator ) ĊĠĠĠĠĠĠĠ Ġintro Presenter . on View Created ( intro View ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ After Ġfun ĠtearDown () Ġ{ ĊĠĠĠĠĠĠĠ Ġintro Presenter . on View Destroyed () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test Ġfun Ġgo To Create Game Screen () Ġ{ ĊĠĠĠĠĠĠĠ Ġintro Presenter . onCreate Button Clicked () ĊĊĠĠĠĠĠĠĠ Ġverify ( navigator ). goTo Create Game () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test Ġfun Ġgo To Join Game Screen () Ġ{ ĊĠĠĠĠĠĠĠ Ġintro Presenter . on Join Button Clicked () ĊĊĠĠĠĠĠĠĠ Ġverify ( navigator ). goTo Join Game () ĊĠĠĠ Ġ} Ċ } Ċ