one(request).getParameter("valor");will(returnValue("1000"));
one(request).getParameter("idConv");will(returnValue("123456"));
one(request).getParameter("refTran");will(returnValue("123456789012345"));
}
});
BBFormularioInformaReturn formularioInformaReturn = new BBVerificaFormularioInforma(request).handle();
Assert.assertEquals(BigDecimal.TEN.setScale(2),formularioInformaReturn.getValor());
Assert.assertEquals(123456,formularioInformaReturn.getIdConv());
Assert.assertEquals("123456789012345",formularioInformaReturn.getRefTran());
}