TokenFeeProcessor implements FeeProcessor { public TokenFeeProcessor(RRI tokenRri, FeeTable feeTable) { this.tokenRri = Objects.requireNonNull(tokenRri); this.feeTable = Objects.requireNonNull(feeTable); } TokenFeeProcessor(RRI tokenRri, FeeTable feeTable); @Override void process(ActionProcessor actionProcessor, MetadataProcessor metadataProcessor, RadixAddress address, Atom atom);  }
@Test public void testTokenFeeProcessor() { RRI tokenRri = mock(RRI.class); FeeTable feeTable = FeeTable.from(UInt256.TEN, ImmutableList.of()); RadixAddress address = mock(RadixAddress.class); ActionProcessor actionProcessor = mock(ActionProcessor.class); MetadataProcessor metadataProcessor = mock(MetadataProcessor.class); TokenFeeProcessor tfp = new TokenFeeProcessor(tokenRri, feeTable); Atom atom = Atom.create(ImmutableList.of()); tfp.process(actionProcessor, metadataProcessor, address, atom); verify(actionProcessor, times(1)).process(any()); verify(metadataProcessor, never()).process(any()); }