account.withdraw(new BigDecimal(3000));
Set<Class<?>> apiTyeps = new HashSet<Class<?>>();
apiTyeps.add(Account.class);
List<Decorator> decs = getManager().resolveDecorators(apiTyeps, new Annotation[] { new CurrentLiteral() });
LargeTransactionDecorator dec = (LargeTransactionDecorator) getManager().getInstance(decs.get(0));
Assert.assertEquals(new BigDecimal(1500), dec.getDepositeAmount());
Assert.assertEquals(new BigDecimal(3000), dec.getWithDrawAmount());