package Ġcom . p hel at . splash . presentation . provider Ċ Ċ import Ġcom . p hel at . splash . data . provider . base . Provider Ċ import Ġcom . p hel at . splash . presentation . entity . Parcel Photo Entity Ċ import Ġorg . hamcrest . Core Matchers . notNull Value Ċ import Ġorg . hamcrest . Core Matchers . null Value Ċ import Ġorg . hamcrest . Matcher Assert Ċ import Ġorg . junit . Before Ċ import Ġorg . junit . Test Ċ import Ġorg . junit . runner . RunWith Ċ import Ġorg . junit . runners . JUnit 4 Ċ Ċ @ RunWith ( JUnit 4 :: class ) Ċ class ĠEmpty Parcel Photo Entity Provider Test Ġ{ ĊĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġprovider : ĠProvider < Parcel Photo Entity > ĊĊĠĠĠ Ġ@ Before ĊĠĠĠ Ġfun ĠsetUp () Ġ{ ĊĠĠĠĠĠĠĠ Ġprovider Ġ= ĠEmpty Parcel Photo Entity Provider () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġif Ġprovider Ġreturns ĠParcel Photo Entity `() Ġ{ ĊĊĠĠĠĠĠĠĠ Ġval Ġprovided Data Ġ= Ġprovider . provide () ĊĊĠĠĠĠĠĠĠ ĠMatcher Assert . assertThat ( provided Data , Ġnot NullValue ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġif Ġprovider Ġreturns Ġempty ĠParcel Photo Entity `() Ġ{ ĊĊĠĠĠĠĠĠĠ Ġval Ġprovided Data Ġ= Ġprovider . provide () ĊĊĠĠĠĠĠĠĠ ĠMatcher Assert . assertThat ( provided Data . photo Urls , Ġnull Value ()) ĊĠĠĠĠĠĠĠ ĠMatcher Assert . assertThat ( provided Data . id , Ġnull Value ()) ĊĠĠĠĠĠĠĠ ĠMatcher Assert . assertThat ( provided Data . users Name , Ġnull Value ()) ĊĠĠĠĠĠĠĠ ĠMatcher Assert . assertThat ( provided Data . userId , Ġnull Value ()) ĊĠĠĠĠĠĠĠ ĠMatcher Assert . assertThat ( provided Data . description , Ġnull Value ()) ĊĠĠĠĠĠĠĠ ĠMatcher Assert . assertThat ( provided Data . likes , Ġnull Value ()) ĊĠĠĠĠĠĠĠ ĠMatcher Assert . assertThat ( provided Data . width , Ġnull Value ()) ĊĠĠĠĠĠĠĠ ĠMatcher Assert . assertThat ( provided Data . updatedAt , Ġnull Value ()) ĊĠĠĠĠĠĠĠ ĠMatcher Assert . assertThat ( provided Data . color , Ġnull Value ()) ĊĠĠĠĠĠĠĠ ĠMatcher Assert . assertThat ( provided Data . createdAt , Ġnull Value ()) ĊĠĠĠĠĠĠĠ ĠMatcher Assert . assertThat ( provided Data . height , Ġnull Value ()) ĊĠĠĠĠĠĠĠ ĠMatcher Assert . assertThat ( provided Data . user Profile Image , Ġnull Value ()) ĊĠĠĠ Ġ} Ċ Ċ }