@Test public void testTransform() { ToStringTransformer sut = new ToStringTransformer(); final Long value = 5L; context.checking(new Expectations() { { allowing(actionContext).getParams(); will(returnValue(value)); } }); assertEquals("5", sut.transform(actionContext)); context.assertIsSatisfied(); }
@Override public String transform(final ActionContext inActionContext) { return inActionContext.getParams().toString(); }
ToStringTransformer implements RequestTransformer { @Override public String transform(final ActionContext inActionContext) { return inActionContext.getParams().toString(); } }
ToStringTransformer implements RequestTransformer { @Override public String transform(final ActionContext inActionContext) { return inActionContext.getParams().toString(); }  }
ToStringTransformer implements RequestTransformer { @Override public String transform(final ActionContext inActionContext) { return inActionContext.getParams().toString(); }  @Override String transform(final ActionContext inActionContext); }
ToStringTransformer implements RequestTransformer { @Override public String transform(final ActionContext inActionContext) { return inActionContext.getParams().toString(); }  @Override String transform(final ActionContext inActionContext);  }