@Test
public void testBadBigDecimalScale() {

	RadixAddress from = mock(RadixAddress.class);
	RadixAddress to = mock(RadixAddress.class);
	RRI rri = mock(RRI.class);
	BigDecimal tooSmall = BigDecimal.valueOf(1L, TokenUnitConversions.getTokenScale() + 1);
	assertThatThrownBy(() -> TransferTokensAction.create(rri, from, to, tooSmall))
		.isInstanceOf(IllegalArgumentException.class);
}