package Ġai . plat on . pulsar . qa . amazon Ċ Ċ import Ġai . plat on . pulsar . qa . Check Entry Ċ import Ġai . plat on . pulsar . qa . Q AB ase Ċ import Ġai . plat on . pulsar . qa . assert Any Records NotBlank Ċ import Ġkotlin . test . Test Ċ Ċ class ĠReview Tests Ġ: ĠQ AB ase () Ġ{ ĊĠĠĠ Ġprivate Ġval Ġresource Prefix Ġ= Ġ" config / sites / amazon / crawl / parse / sql " ĊĠĠĠ Ġprivate Ġval Ġsql Resource Ġ= Ġ"$ resource Prefix / crawl / x - asin - reviews . sql " ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` When Ġextract Ġthen Ġis _ v ine _ voice Ġexists `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġurl Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" https :// www . amazon . com / Amazon - com - Gift - Card - H oliday - Pop - Up / product - reviews / B 0 7 1 9 C 5 P 5 6 / ref = cm _ cr _ dp _ d _ show _ all _ b tm ? ie = UTF 8 & reviewer Type = all _ reviews " ĊĠĠĠĠĠĠĠ Ġassert Any Records NotBlank ( Check Entry ( url , Ġsql Resource , ĠlistOf (" IS _ V INE _ VOICE "))) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` When Ġextract Ġthen Ġis _ top _ contributor Ġexists `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġurl Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" https :// www . amazon . com / H ills - Science - Di et - Management - Ch icken / product - reviews / B 0 7 L 5 2 PT QP / ref = cm _ cr _ dp _ d _ show _ all _ b tm ? ie = UTF 8 & reviewer Type = all _ reviews " ĊĠĠĠĠĠĠĠ Ġassert Any Records NotBlank ( Check Entry ( url , Ġsql Resource , ĠlistOf (" is _ top _ contributor "))) ĊĠĠĠ Ġ} Ċ } Ċ