GasToken extends Nep5Token { @Override public int getDecimals() { return DECIMALS; } GasToken(Neow3j neow); @Override String getName(); @Override String getSymbol(); @Override int getDecimals(); final static int DECIMALS; final static String NAME; final static String SYMBOL; static final ScriptHash SCRIPT_HASH; }
@Test public void getDecimals() { assertThat(new GasToken(neow).getDecimals(), is(8)); }