I came with an thin abstraction layer over request factory. My presenter
declare an inner interface called DataService which exposes methods from RF
that are needed for that presenter. For exemple:
public class PesquisaPresenter {
public interface DataService {
void findById(long id,
I'm pretty new to RF but by reading through various posts regarding
the testing of RF i came up with the following solution that seems to
work well so far with spring
First an abstract test case that your unit test would extends
@TransactionConfiguration(defaultRollback = false)