package Ġcom . github . ker ub istan . ker ub . utils . j unix . compression . b zip 2 Ċ Ċ import Ġcom . github . ker ub istan . ker ub . model . Compression Format Ċ import Ġcom . github . ker ub istan . ker ub . model . Software Package Ċ import Ġcom . github . ker ub istan . ker ub . model . Version Ċ import Ġcom . github . ker ub istan . ker ub . test Host Capabilities Ċ import Ġorg . junit . Assert . assertEquals Ċ import Ġorg . junit . Test Ċ import Ġkotlin . test . assertFalse Ċ import Ġkotlin . test . assertTrue Ċ Ċ class ĠB Zip 2 Test Ġ{ ĊĊ ĉ @ Test Ċ ĉ fun Ġavailable () Ġ{ Ċĉ ĉ assertFalse (" no Ġb zip 2 ") Ġ{ Ċĉĉ ĉ B Zip 2 . available ( null ) Ċĉ ĉ } Ċĉ ĉ assertFalse (" no Ġb zip 2 ") Ġ{ Ċĉĉ ĉ B Zip 2 . available ( test Host Capabilities . copy ( Ċĉĉĉĉ ĉ installed Software Ġ= ĠlistOf () Ċĉĉ ĉ )) Ċĉ ĉ } Ċĉ ĉ assertTrue (" b zip 2 Ġinstalled ") Ġ{ Ċĉĉ ĉ B Zip 2 . available ( test Host Capabilities . copy ( Ċĉĉĉĉ ĉ installed Software Ġ= ĠlistOf ( Ċĉĉĉĉĉĉ ĉ Software Package ( name Ġ= Ġ" b zip 2 ", Ġversion Ġ= ĠVersion . from Version String (" 1 . 0 . 6 ")) Ċĉĉĉĉ ĉ ) Ċĉĉ ĉ )) Ċĉ ĉ } Ċ ĉ } ĊĊ ĉ @ Test Ċ ĉ fun Ġget Format () Ġ{ Ċĉ ĉ assertEquals ( Compression Format . B zip 2 , ĠB Zip 2 . format ) Ċ ĉ } Ċ }