package Ġpl . d roid son roid s . toast . view models . event Ċ Ċ import Ġorg . hamcrest . Core Matchers . equalTo Ċ import Ġorg . hamcrest . Matcher Assert . assertThat Ċ import Ġorg . junit . Test Ċ import Ġpl . d roid son roid s . toast . up coming Event ViewModel With Photos Ċ import Ġpl . d roid son roid s . toast . up coming Event ViewModel Without Photos Ċ Ċ class ĠUp coming Event ViewModel Test Ġ{ ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġupcoming Event ViewModel : ĠUp coming Event ViewModel ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Make Photos Available () Ġ{ ĊĠĠĠĠĠĠĠ Ġupcoming Event ViewModel Ġ= Ġupcoming Event ViewModel With Photos ĊĊĠĠĠĠĠĠĠ ĠassertThat ( up coming Event ViewModel With Photos . photos Available , ĠequalTo ( true )) ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould Make Photos Unavailable () Ġ{ ĊĠĠĠĠĠĠĠ Ġupcoming Event ViewModel Ġ= Ġupcoming Event ViewModel Without Photos ĊĊĠĠĠĠĠĠĠ ĠassertThat ( up coming Event ViewModel . photos Available , ĠequalTo ( false )) ĊĠĠĠ Ġ} Ċ }