public void SetUp() { PaymentClaimDecoder.Init(); UnitsRangeDecoder.Init(); TransactionInfoDecoder.Init(); var memDb = new MemDb(); repository = new PaymentClaimRocksRepository(memDb, new PaymentClaimDecoder()); }
private void InitDecoders() { //initialize static constructors of needed decoders DataAssetDecoder.Init(); UnitsRangeDecoder.Init(); TransactionInfoDecoder.Init(); DataAssetRulesDecoder.Init(); DataAssetRuleDecoder.Init(); DataRequestDecoder.Init(); DataAssetProviderDecoder.Init(); }
private static void AddDecoders() { DataDeliveryReceiptDecoder.Init(); DataDeliveryReceiptRequestDecoder.Init(); DataDeliveryReceiptToMergeDecoder.Init(); DataDeliveryReceiptDetailsDecoder.Init(); DataHeaderDecoder.Init(); DataHeaderRuleDecoder.Init(); DataHeaderRulesDecoder.Init(); DataHeaderProviderDecoder.Init(); DataRequestDecoder.Init(); DepositDecoder.Init(); DepositApprovalDecoder.Init(); EarlyRefundTicketDecoder.Init(); EthRequestDecoder.Init(); SessionDecoder.Init(); UnitsRangeDecoder.Init(); }
private static void InitDecoders() { DataAssetDecoder.Init(); DataAssetRulesDecoder.Init(); DataAssetRuleDecoder.Init(); DataAssetProviderDecoder.Init(); DataDeliveryReceiptDecoder.Init(); DataRequestDecoder.Init(); EarlyRefundTicketDecoder.Init(); FaucetResponseDecoder.Init(); FaucetRequestDetailsDecoder.Init(); DataDeliveryReceiptDecoder.Init(); DataDeliveryReceiptRequestDecoder.Init(); UnitsRangeDecoder.Init(); SessionDecoder.Init(); DepositApprovalDecoder.Init(); DataDeliveryReceiptToMergeDecoder.Init(); }
public MessageTests() { _service.Register(typeof(HiMessage).Assembly); DataAssetDecoder.Init(); DataAssetRulesDecoder.Init(); DataAssetRuleDecoder.Init(); DataAssetProviderDecoder.Init(); DataDeliveryReceiptDecoder.Init(); DataRequestDecoder.Init(); EarlyRefundTicketDecoder.Init(); FaucetResponseDecoder.Init(); FaucetRequestDetailsDecoder.Init(); DataDeliveryReceiptDecoder.Init(); DataDeliveryReceiptRequestDecoder.Init(); UnitsRangeDecoder.Init(); SessionDecoder.Init(); DepositApprovalDecoder.Init(); DataDeliveryReceiptToMergeDecoder.Init(); }