package Ġdev . st alla . builder . valid ating . episode Ċ Ċ import Ġassert k . assert All Ċ import Ġassert k . assertThat Ċ import Ġassert k . assertions . isEqualTo Ċ import Ġassert k . assertions . isFalse Ċ import Ġassert k . assertions . isNotNull Ċ import Ġassert k . assertions . isNull Ċ import Ġassert k . assertions . isTrue Ċ import Ġassert k . assertions . prop Ċ import Ġdev . st alla . builder . episode . Episode Bit love Builder Ċ import Ġdev . st alla . model . an Episode Bit love Ċ import Ġdev . st alla . model . bit love . Bit love Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ internal Ġclass ĠValid ating Episode Bit love Builder Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġinternal Ġfun Ġ` should Ġnot Ġbuild Ġan ĠEp isode ĠBit love Ġwhen Ġthe Ġmandatory Ġfields Ġare Ġmissing `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġepisode Bit love Builder Ġ= ĠValid ating Episode Bit love Builder () ĊĊĠĠĠĠĠĠĠ Ġassert All Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( episode Bit love Builder ). prop ( Episode Bit love Builder :: has En ough DataTo Build ). isFalse () ĊĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( episode Bit love Builder . build ()). isNull () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġinternal Ġfun Ġ` should Ġbuild Ġan ĠEp isode ĠBit love Ġwith Ġall Ġthe Ġmandatory Ġfields `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġepisode Bit love Builder Ġ= ĠValid ating Episode Bit love Builder () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. guid (" guid ") ĊĊĠĠĠĠĠĠĠ Ġassert All Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( episode Bit love Builder ). prop ( Episode Bit love Builder :: has En ough DataTo Build ). isTrue () ĊĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( episode Bit love Builder . build ()). isNotNull (). prop ( Bit love :: guid ). isEqualTo (" guid ") ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġinternal Ġfun Ġ` should Ġpopulate Ġan ĠEp isode ĠBit love Ġbuilder Ġwith Ġall Ġproperties Ġfrom Ġan ĠEp isode ĠBit love Ġmodel `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġepisode Bit love Ġ= Ġan Episode Bit love () ĊĠĠĠĠĠĠĠ Ġval Ġepisode Bit love Builder Ġ= ĠBit love . builder (). apply From ( episode Bit love ) ĊĊĠĠĠĠĠĠĠ Ġassert All Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( episode Bit love Builder ). prop ( Episode Bit love Builder :: has En ough DataTo Build ). isTrue () ĊĊĠĠĠĠĠĠĠĠĠĠĠ ĠassertThat ( episode Bit love Builder . build ()). isNotNull (). isEqualTo ( episode Bit love ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ