service = EasyMock.createMock(ApiService.class);
EasyMock.expect(service.callStyle()).andReturn(CallStyle.REST);
EasyMock.replay(service);
presenter = new EmbeddedParameterFormPresenter(
new AuthManager(), display, new RequestFinishedCallback() {
@Override
public void finished(
ApiRequest request, ApiResponse response, long startTime, long endTime) {
// Intentionally blank, we're not executing any requests
}