package Ġcom . rar ible . protocol . nft . migration . integration Ċ Ċ import Ġcom . rar ible . core . lock . Lock Service Ċ import Ġcom . rar ible . protocol . nft . core . configuration . N ft Indexer Properties Ċ import Ġcom . rar ible . protocol . nft . core . repository . Temporary Item Properties Repository Ċ import Ġcom . rar ible . protocol . nft . core . repository . Token Repository Ċ import Ġcom . rar ible . protocol . nft . core . repository . history . Lazy N ft Item History Repository Ċ import Ġcom . rar ible . protocol . nft . core . service . Crypto P unk s Meta Service Ċ import Ġcom . rar ible . protocol . nft . core . service . item . meta . Ip fs Service Ċ import Ġcom . rar ible . protocol . nft . core . service . item . meta . Item Properties Service Ċ import Ġcom . rar ible . protocol . nft . core . service . item . meta . descriptors .* Ċ import Ġio . da onom ic . rpc . mono . Web Client Transport Ċ import Ġio . mock k . mock k Ċ import Ġorg . springframework . beans . factory . annotation . Autowired Ċ import Ġorg . springframework . boot . test . context . Test Configuration Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġscale ther . core . Mono E thereum Ċ import Ġscale ther . domain . Address Ċ import Ġscale ther . transaction . Mono Transaction Sender Ċ import Ġscale ther . transaction . ReadOnly Mono Transaction Sender ĊĊ Ċ @ Test Configuration Ċ class ĠTest Properties Configuration Ġ{ ĊĊĠĠĠ Ġ@ Autowired ĊĠĠĠ Ġprotected Ġlateinit Ġvar Ġcrypto P unk s Meta Service : ĠCrypto P unk s Meta Service ĊĊĠĠĠ Ġ@ Autowired ĊĠĠĠ Ġprotected Ġlateinit Ġvar Ġproperties : ĠN ft Indexer Properties ĊĊĠĠĠ Ġprivate Ġval Ġtoken Repository Ġ= Ġmock k < Token Repository >() ĊĠĠĠ Ġprivate Ġval Ġlazy N ft Item History Repository Ġ= Ġmock k < Lazy N ft Item History Repository >() ĊĠĠĠ Ġprivate Ġval Ġtemporary Item Properties Repository Ġ= Ġmock k < Temporary Item Properties Repository >() ĊĠĠĠ Ġprivate Ġval Ġsender Ġ= ĠReadOnly Mono Transaction Sender ( Mono E thereum ( Web Client Transport (" https :// dark - sol it ary - res on ance . qu ik node . pro / c 0 b 7 c 6 2 9 5 2 0 de 6 c 3 d 3 9 2 6 1 f 6 4 1 7 0 8 4 d 7 1 c 3 f 8 7 9 1 /", ĠMono E thereum . mapper (), Ġ 1 0 0 0 0 , Ġ 1 0 0 0 0 )), ĠAddress . ZERO ()) ĊĠĠĠ Ġprivate Ġval Ġip fs Service Ġ= ĠIp fs Service ( Ip fs Service . IP FS _ NEW _ URL , Ġmock k ()) ĊĠĠĠ Ġprivate Ġval Ġproperties Cache Descriptor Ġ= ĠProperties Cache Descriptor ( sender , Ġtoken Repository , Ġlazy N ft Item History Repository , Ġip fs Service , Ġ 8 6 4 0 0 , Ġ 2 0 0 0 0 ) ĊĠĠĠ Ġprivate Ġval Ġk itt ies Cache Descriptor Ġ= ĠK itt ies Cache Descriptor ( 8 6 4 0 0 ) ĊĠĠĠ Ġprivate Ġval Ġy In sure Cache Descriptor Ġ= ĠY In sure Cache Descriptor ( sender , Ġ" 0 x 1 8 1 aea 6 9 3 6 b 4 0 7 5 1 4 eb fc 0 7 5 4 a 3 7 7 0 4 eb 8 d 9 8 f 9 1 ", Ġ 8 6 4 0 0 , Ġ" 0 x 1 7 7 6 6 5 1 F 5 8 a 1 7 a 5 0 0 9 8 d 3 1 ba 3 C 3 c D 2 5 9 C 1 9 0 3 f 7 A ", Ġ" http :// localhost : 8 0 8 0 ") ĊĠĠĠ Ġprivate Ġval Ġhe g ic Cache Descriptor Ġ= ĠH eg ic Cache Descriptor ( sender , Ġ" 0 xcb 9 eb ae 5 9 7 3 8 d 9 d adc 4 2 3 adb de 6 6 c 0 1 8 7 7 7 4 5 5 a 4 ", Ġ 8 6 4 0 0 , Ġ" http :// localhost : 8 0 8 0 ") ĊĠĠĠ Ġprivate Ġval Ġhash masks Cache Descriptor Ġ= ĠHash masks Cache Descriptor ( sender , Ġ" 0 xc 2 c 7 4 7 e 0 f 7 0 0 4 f 9 e 8 8 1 7 db 2 ca 4 9 9 7 6 5 7 a 7 7 4 6 9 2 8 ", Ġ 8 6 4 0 0 ) ĊĠĠĠ Ġprivate Ġval Ġwa if usion Cache Descriptor Ġ= ĠW a if usion Cache Descriptor ( sender , Ġ" 0 x 2 2 1 6 d 4 7 4 9 4 e 5 1 6 d 8 2 0 6 b 7 0 fca 8 5 8 5 8 2 0 ed 3 c 4 9 4 6 ", Ġ 8 6 4 0 0 , Ġ" https :// ipfs . io / ipfs / Qm Qu z MG q Hx SX ug CU v W Qj DC DH Wh i GB 7 5 us K br Zk 6 Ec 6 p F vw ") ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġitem Prop Service (): ĠItem Properties Service Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠItem Properties Service ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġproperties Cache Descriptor , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġk itt ies Cache Descriptor , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmock k (), ĊĠĠĠĠĠĠĠĠĠĠĠ Ġy In sure Cache Descriptor , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġhe g ic Cache Descriptor , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġhash masks Cache Descriptor , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġwa if usion Cache Descriptor , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġcrypto P unk s Meta Service , ĊĠĠĠĠĠĠĠĠĠĠĠ ĠOpen Sea Cache Descriptor (" https :// api . opense a . io / api / v 1 ", Ġ"", Ġ 1 0 0 0 0 , Ġ 3 0 0 0 , Ġ 8 6 4 0 0 , Ġ 2 0 0 0 0 , Ġ"", Ġnull ), ĊĠĠĠĠĠĠĠĠĠĠĠ Ġip fs Service , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġtemporary Item Properties Repository , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġproperties , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" 0 x 1 8 1 aea 6 9 3 6 b 4 0 7 5 1 4 eb fc 0 7 5 4 a 3 7 7 0 4 eb 8 d 9 8 f 9 1 ", ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" 0 xcb 9 eb ae 5 9 7 3 8 d 9 d adc 4 2 3 adb de 6 6 c 0 1 8 7 7 7 4 5 5 a 4 ", ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" 0 xc 2 c 7 4 7 e 0 f 7 0 0 4 f 9 e 8 8 1 7 db 2 ca 4 9 9 7 6 5 7 a 7 7 4 6 9 2 8 ", ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" 0 x 2 2 1 6 d 4 7 4 9 4 e 5 1 6 d 8 2 0 6 b 7 0 fca 8 5 8 5 8 2 0 ed 3 c 4 9 4 6 ", ĊĠĠĠĠĠĠĠĠĠĠĠ Ġnull ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġtransaction Sender () Ġ: ĠMono Transaction Sender Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġmock k () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġlock Service (): ĠLock Service Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġmock k () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġproperty Cache Descriptor (): ĠProperties Cache Descriptor Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġproperties Cache Descriptor ĊĠĠĠ Ġ} Ċ } Ċ