/* Ċ Ġ* ĠCopyright Ġ( C ) Ġ 2 0 2 1 ĠX iz hi ĠZ hu Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* ĠĠĠĠĠ Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ Ċ package Ġme . x iz zh u . android . j osh ua . core . repository Ċ Ċ import Ġio . mock k . co Every Ċ import Ġio . mock k . co Verify Ċ import Ġio . mock k . mock k Ċ import Ġkotlinx . coroutines . flow . first Ċ import Ġkotlinx . coroutines . test . run Test Ċ import Ġme . x iz zh u . android . j osh ua . core . Ver se Index Ċ import Ġme . x iz zh u . android . j osh ua . core . repository . local . Local Reading Storage Ċ import Ġme . x iz zh u . android . j osh ua . tests . Base UnitTest Ċ import Ġme . x iz zh u . android . j osh ua . tests . Mock Contents Ċ import Ġkotlin . test . Before Test Ċ import Ġkotlin . test . Test Ċ import Ġkotlin . test . assertEquals Ċ import Ġkotlin . test . assertFalse Ċ import Ġkotlin . test . assertTrue Ċ Ċ class ĠBible Reading Repository Test Ġ: ĠBase UnitTest () Ġ{ ĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġlocal Reading Storage : ĠLocal Reading Storage ĊĊĠĠĠ Ġ@ Before Test ĊĠĠĠ Ġoverride Ġfun Ġsetup () Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . setup () ĊĠĠĠĠĠĠĠ Ġlocal Reading Storage Ġ= Ġmock k () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġcurrent Ver se Index Ġfrom Ġconstructor `() Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Ver se Index () Ġ} Ġreturns ĠVer se Index ( 1 , Ġ 2 , Ġ 3 ) ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Translation () Ġ} Ġreturns ĠMock Contents . k jv ShortName ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Parallel Translations () Ġ} Ġreturns Ġempty List () ĊĊĠĠĠĠĠĠĠ Ġval Ġb ible Reading Repository Ġ= ĠBible Reading Repository ( local Reading Storage , Ġtest Scope ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( Ver se Index ( 1 , Ġ 2 , Ġ 3 ), Ġb ible Reading Repository . current Ver se Index . first ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġcurrent Ver se Index Ġfrom Ġconstructor Ġwith Ġexception `() Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Ver se Index () Ġ} Ġthrows ĠRuntimeException (" Random Ġexception ") ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Translation () Ġ} Ġreturns ĠMock Contents . k jv ShortName ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Parallel Translations () Ġ} Ġreturns Ġempty List () ĊĊĠĠĠĠĠĠĠ Ġval Ġb ible Reading Repository Ġ= ĠBible Reading Repository ( local Reading Storage , Ġtest Scope ) ĊĠĠĠĠĠĠĠ ĠassertFalse ( bible Reading Repository . current Ver se Index . first (). isValid ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġsave Current Ver se Index ()` () Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Ver se Index () Ġ} Ġreturns ĠVer se Index ( 1 , Ġ 2 , Ġ 3 ) ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . save Current Ver se Index ( any ()) Ġ} Ġreturns ĠUnit ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Translation () Ġ} Ġreturns ĠMock Contents . k jv ShortName ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Parallel Translations () Ġ} Ġreturns Ġempty List () ĊĊĠĠĠĠĠĠĠ Ġval Ġb ible Reading Repository Ġ= ĠBible Reading Repository ( local Reading Storage , Ġtest Scope ) ĊĠĠĠĠĠĠĠ Ġb ible Reading Repository . save Current Ver se Index ( Ver se Index ( 4 , Ġ 5 , Ġ 6 )) ĊĠĠĠĠĠĠĠ ĠassertEquals ( Ver se Index ( 4 , Ġ 5 , Ġ 6 ), Ġb ible Reading Repository . current Ver se Index . first ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġcurrent Translation Ġfrom Ġconstructor `() Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Ver se Index () Ġ} Ġreturns ĠVer se Index ( 1 , Ġ 2 , Ġ 3 ) ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Translation () Ġ} Ġreturns ĠMock Contents . k jv ShortName ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Parallel Translations () Ġ} Ġreturns Ġempty List () ĊĊĠĠĠĠĠĠĠ Ġval Ġb ible Reading Repository Ġ= ĠBible Reading Repository ( local Reading Storage , Ġtest Scope ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( Mock Contents . k jv ShortName , Ġb ible Reading Repository . current Translation . first ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġcurrent Translation Ġfrom Ġconstructor Ġwith Ġexception `() Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Ver se Index () Ġ} Ġreturns ĠVer se Index ( 1 , Ġ 2 , Ġ 3 ) ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Translation () Ġ} Ġthrows ĠRuntimeException (" Random Ġexception ") ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Parallel Translations () Ġ} Ġreturns Ġempty List () ĊĊĠĠĠĠĠĠĠ Ġval Ġb ible Reading Repository Ġ= ĠBible Reading Repository ( local Reading Storage , Ġtest Scope ) ĊĠĠĠĠĠĠĠ ĠassertTrue ( bible Reading Repository . current Translation . first (). isEmpty ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġsave Current Translation ()` () Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Ver se Index () Ġ} Ġreturns ĠVer se Index ( 1 , Ġ 2 , Ġ 3 ) ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Translation () Ġ} Ġreturns ĠMock Contents . k jv ShortName ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Parallel Translations () Ġ} Ġreturns Ġempty List () ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . save Current Translation ( any ()) Ġ} Ġreturns ĠUnit ĊĊĠĠĠĠĠĠĠ Ġval Ġb ible Reading Repository Ġ= ĠBible Reading Repository ( local Reading Storage , Ġtest Scope ) ĊĠĠĠĠĠĠĠ Ġb ible Reading Repository . save Current Translation ( Mock Contents . c uv ShortName ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( Mock Contents . c uv ShortName , Ġb ible Reading Repository . current Translation . first ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġparallel Translations Ġfrom Ġconstructor `() Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Ver se Index () Ġ} Ġreturns ĠVer se Index ( 1 , Ġ 2 , Ġ 3 ) ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Translation () Ġ} Ġreturns ĠMock Contents . k jv ShortName ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Parallel Translations () Ġ} Ġreturns ĠlistOf ( Mock Contents . c uv ShortName ) ĊĊĠĠĠĠĠĠĠ Ġval Ġb ible Reading Repository Ġ= ĠBible Reading Repository ( local Reading Storage , Ġtest Scope ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( listOf ( Mock Contents . c uv ShortName ), Ġb ible Reading Repository . parallel Translations . first ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġparallel Translations Ġfrom Ġconstructor Ġwith Ġexception `() Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Ver se Index () Ġ} Ġreturns ĠVer se Index ( 1 , Ġ 2 , Ġ 3 ) ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Translation () Ġ} Ġreturns ĠMock Contents . k jv ShortName ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Parallel Translations () Ġ} Ġthrows ĠRuntimeException (" Random Ġexception ") ĊĊĠĠĠĠĠĠĠ Ġval Ġb ible Reading Repository Ġ= ĠBible Reading Repository ( local Reading Storage , Ġtest Scope ) ĊĠĠĠĠĠĠĠ ĠassertTrue ( bible Reading Repository . parallel Translations . first (). isEmpty ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġrequest Parallel Translation () Ġand Ġremove Parallel Translation ()` () Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Ver se Index () Ġ} Ġreturns ĠVer se Index ( 1 , Ġ 2 , Ġ 3 ) ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Translation () Ġ} Ġreturns ĠMock Contents . k jv ShortName ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Parallel Translations () Ġ} Ġreturns Ġempty List () ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . save Parallel Translations ( any ()) Ġ} Ġreturns ĠUnit ĊĊĠĠĠĠĠĠĠ Ġval Ġb ible Reading Repository Ġ= ĠBible Reading Repository ( local Reading Storage , Ġtest Scope ) ĊĊĠĠĠĠĠĠĠ Ġ// Ġadds Ġa Ġparallel ĊĠĠĠĠĠĠĠ Ġb ible Reading Repository . request Parallel Translation ( Mock Contents . k jv ShortName ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( listOf ( Mock Contents . k jv ShortName ), Ġb ible Reading Repository . parallel Translations . first ()) ĊĠĠĠĠĠĠĠ Ġco Verify ( exact ly Ġ= Ġ 1 ) Ġ{ Ġlocal Reading Storage . save Parallel Translations ( listOf ( Mock Contents . k jv ShortName )) Ġ} ĊĊĠĠĠĠĠĠĠ Ġ// Ġadds Ġthe Ġsame Ġparallel , Ġand Ġalso Ġa Ġnew Ġone ĊĠĠĠĠĠĠĠ Ġb ible Reading Repository . request Parallel Translation ( Mock Contents . k jv ShortName ) ĊĠĠĠĠĠĠĠ Ġb ible Reading Repository . request Parallel Translation ( Mock Contents . c uv ShortName ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( set Of ( Mock Contents . k jv ShortName , ĠMock Contents . c uv ShortName ), Ġb ible Reading Repository . parallel Translations . first (). toSet ()) ĊĠĠĠĠĠĠĠ Ġco Verify ( exact ly Ġ= Ġ 1 ) Ġ{ Ġlocal Reading Storage . save Parallel Translations ( listOf ( Mock Contents . k jv ShortName , ĠMock Contents . c uv ShortName )) Ġ} ĊĊĠĠĠĠĠĠĠ Ġ// Ġremoves Ġa Ġnon - exist Ġparallel ĊĠĠĠĠĠĠĠ Ġb ible Reading Repository . remove Parallel Translation (" not _ exist ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( set Of ( Mock Contents . k jv ShortName , ĠMock Contents . c uv ShortName ), Ġb ible Reading Repository . parallel Translations . first (). toSet ()) ĊĊĠĠĠĠĠĠĠ Ġ// Ġremoves Ġa Ġparallel ĊĠĠĠĠĠĠĠ Ġb ible Reading Repository . remove Parallel Translation ( Mock Contents . k jv ShortName ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( listOf ( Mock Contents . c uv ShortName ), Ġb ible Reading Repository . parallel Translations . first ()) ĊĠĠĠĠĠĠĠ Ġco Verify ( exact ly Ġ= Ġ 1 ) Ġ{ Ġlocal Reading Storage . save Parallel Translations ( listOf ( Mock Contents . c uv ShortName )) Ġ} ĊĊĠĠĠĠĠĠĠ Ġ// Ġremoves Ġanother Ġparallel ĊĠĠĠĠĠĠĠ Ġb ible Reading Repository . remove Parallel Translation ( Mock Contents . c uv ShortName ) ĊĠĠĠĠĠĠĠ ĠassertTrue ( bible Reading Repository . parallel Translations . first (). isEmpty ()) ĊĠĠĠĠĠĠĠ Ġco Verify ( exact ly Ġ= Ġ 1 ) Ġ{ Ġlocal Reading Storage . save Parallel Translations ( emptyList ()) Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġclear Parallel Translation ()` () Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Ver se Index () Ġ} Ġreturns ĠVer se Index ( 1 , Ġ 2 , Ġ 3 ) ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Current Translation () Ġ} Ġreturns ĠMock Contents . k jv ShortName ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Parallel Translations () Ġ} Ġreturns Ġempty List () ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . save Parallel Translations ( any ()) Ġ} Ġreturns ĠUnit ĊĊĠĠĠĠĠĠĠ Ġval Ġb ible Reading Repository Ġ= ĠBible Reading Repository ( local Reading Storage , Ġtest Scope ) ĊĠĠĠĠĠĠĠ Ġb ible Reading Repository . request Parallel Translation ( Mock Contents . k jv ShortName ) ĊĠĠĠĠĠĠĠ Ġb ible Reading Repository . request Parallel Translation ( Mock Contents . c uv ShortName ) ĊĠĠĠĠĠĠĠ ĠassertEquals ( set Of ( Mock Contents . k jv ShortName , ĠMock Contents . c uv ShortName ), Ġb ible Reading Repository . parallel Translations . first (). toSet ()) ĊĊĠĠĠĠĠĠĠ Ġb ible Reading Repository . clear Parallel Translation () ĊĠĠĠĠĠĠĠ ĠassertTrue ( bible Reading Repository . parallel Translations . first (). isEmpty ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġread Book Names ()` () Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġb ible Reading Repository Ġ= ĠBible Reading Repository ( local Reading Storage , Ġtest Scope ) ĊĊĠĠĠĠĠĠĠ Ġ// Ġno Ġcache Ġyet , Ġread Ġfrom ĠLocal Reading Storage ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Book Names ( Mock Contents . k jv ShortName ) Ġ} Ġreturns ĠMock Contents . k jv Book Names ĊĠĠĠĠĠĠĠ ĠassertEquals ( Mock Contents . k jv Book Names , Ġb ible Reading Repository . read Book Names ( Mock Contents . k jv ShortName )) ĊĊĠĠĠĠĠĠĠ Ġ// Ġhas Ġcache Ġnow , Ġread Ġfrom Ġthere ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Book Names ( any ()) Ġ} Ġthrows ĠIllegalStateException (" Should Ġread Ġfrom Ġin - memory Ġcache ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( Mock Contents . k jv Book Names , Ġb ible Reading Repository . read Book Names ( Mock Contents . k jv ShortName )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġread Book Short Names ()` () Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġb ible Reading Repository Ġ= ĠBible Reading Repository ( local Reading Storage , Ġtest Scope ) ĊĊĠĠĠĠĠĠĠ Ġ// Ġno Ġcache Ġyet , Ġread Ġfrom ĠLocal Reading Storage ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Book Short Names ( Mock Contents . k jv ShortName ) Ġ} Ġreturns ĠMock Contents . k jv Book Short Names ĊĠĠĠĠĠĠĠ ĠassertEquals ( Mock Contents . k jv Book Short Names , Ġb ible Reading Repository . read Book Short Names ( Mock Contents . k jv ShortName )) ĊĊĠĠĠĠĠĠĠ Ġ// Ġhas Ġcache Ġnow , Ġread Ġfrom Ġthere ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Book Short Names ( any ()) Ġ} Ġthrows ĠIllegalStateException (" Should Ġread Ġfrom Ġin - memory Ġcache ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( Mock Contents . k jv Book Short Names , Ġb ible Reading Repository . read Book Short Names ( Mock Contents . k jv ShortName )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġread Ver ses ()` () Ġ= Ġrun Test Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġb ible Reading Repository Ġ= ĠBible Reading Repository ( local Reading Storage , Ġtest Scope ) ĊĊĠĠĠĠĠĠĠ Ġ// Ġno Ġcache Ġyet , Ġread Ġfrom ĠLocal Reading Storage ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Book Names ( Mock Contents . k jv ShortName ) Ġ} Ġreturns ĠMock Contents . k jv Book Names ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Book Short Names ( Mock Contents . k jv ShortName ) Ġ} Ġreturns ĠMock Contents . k jv Book Short Names ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Ver ses ( Mock Contents . k jv ShortName , Ġ 0 , Ġ 0 ) Ġ} Ġreturns ĠMock Contents . k jv Ver ses ĊĠĠĠĠĠĠĠ ĠassertEquals ( Mock Contents . k jv Ver ses , Ġb ible Reading Repository . read Ver ses ( Mock Contents . k jv ShortName , Ġ 0 , Ġ 0 )) ĊĊĠĠĠĠĠĠĠ Ġ// Ġhas Ġcache Ġnow , Ġread Ġfrom Ġthere ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Book Names ( any ()) Ġ} Ġthrows ĠIllegalStateException (" Should Ġread Ġfrom Ġin - memory Ġcache ") ĊĠĠĠĠĠĠĠ Ġco Every Ġ{ Ġlocal Reading Storage . read Ver ses ( any (), Ġany (), Ġany ()) Ġ} Ġthrows ĠIllegalStateException (" Should Ġread Ġfrom Ġin - memory Ġcache ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( Mock Contents . k jv Ver ses , Ġb ible Reading Repository . read Ver ses ( Mock Contents . k jv ShortName , Ġ 0 , Ġ 0 )) ĊĠĠĠ Ġ} Ċ } Ċ