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 ĠSearch By Keyword Tests Ġ: ĠQ AB ase () Ġ{ ĊĠĠĠ Ġprivate Ġval Ġresource Prefix Ġ= Ġ" config / sites / amazon / crawl / parse / sql " ĊĠĠĠ Ġprivate Ġval Ġsql Resource Ġ= Ġ"$ resource Prefix / keyword - asin - extract . sql " ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` When Ġextract Ġa Ġpage Ġwhich Ġis Ġgone Ġthen Ġwarning Ġmessage Ġexists `() Ġ{ ĊĠĠĠĠĠĠĠ Ġvar Ġurl Ġ= Ġ" https :// www . amazon . com / s ? rh = n : 1 9 5 3 9 0 9 4 0 1 1 & rd = 1 & fs = true & page = 1 4 " ĊĠĠĠĠĠĠĠ Ġassert Any Records NotBlank ( Check Entry ( url , Ġsql Resource , ĠlistOf (" abstract "))) ĊĊĠĠĠĠĠĠĠ Ġurl Ġ= Ġ" https :// www . amazon . com / s ? k = Bi ke + R im + Br ake + Sets & rh = n : 6 3 8 9 2 8 6 0 1 1 & page = 3 1 " ĊĠĠĠĠĠĠĠ Ġassert Any Records NotBlank ( Check Entry ( url , Ġsql Resource , ĠlistOf (" abstract "))) ĊĠĠĠ Ġ} Ċ } Ċ