*/
@Test
public void testPerformAction() throws Exception
{
final String userPrefsJson = "{'userPref1':'value1','userPref2':'value2'}";
final GadgetUserPrefDTO testPrefs1 = context.mock(GadgetUserPrefDTO.class);
final GadgetUserPrefActionRequest requestParam = new GadgetUserPrefActionRequest(new Long(1L), userPrefsJson);
context.checking(new Expectations()
{
{
oneOf(mapper).execute(with(any(GadgetUserPrefRequest.class)));