with(same(serviceAction)));
will(returnValue(genericResult));
}
});
ActionRequest results = sut.execute(new ActionRequestImpl(ACTION_KEY, requestParm), validUserDetailsMock);
mockery.assertIsSatisfied();
assertSame(genericClonedResult, results.getResponse());
assertNull(results.getParam());
}