@Test
public void when_a_mint_action_is_created_with_zero_unallocated_tokens__then_a_overmint_exception_should_be_thrown() {

	MintTokensActionMapper mapper = new MintTokensActionMapper();
	RRI token = mock(RRI.class);
	MintTokensAction mintTokensAction = MintTokensAction.create(token, mock(RadixAddress.class), BigDecimal.ONE);
	MutableSupplyTokenDefinitionParticle tokenDefinitionParticle = mock(MutableSupplyTokenDefinitionParticle.class);
	when(tokenDefinitionParticle.getRRI()).thenReturn(token);
	assertThatThrownBy(() -> mapper.mapToParticleGroups(mintTokensAction, Stream.of(tokenDefinitionParticle)))
		.isInstanceOf(TokenOverMintException.class);
}