@Test public void test() { WrapInListRequestTransformer sut = new WrapInListRequestTransformer(); ServiceActionContext currentContext = new ServiceActionContext(1L, null); Serializable result = sut.transform(currentContext); assertNotNull(result); List list = (List) result; assertEquals(1, list.size()); assertEquals(1L, list.get(0)); }
@Override public Serializable transform(final ActionContext inActionContext) { return (Serializable) Collections.singletonList(inActionContext.getParams()); }
WrapInListRequestTransformer implements RequestTransformer { @Override public Serializable transform(final ActionContext inActionContext) { return (Serializable) Collections.singletonList(inActionContext.getParams()); } }
WrapInListRequestTransformer implements RequestTransformer { @Override public Serializable transform(final ActionContext inActionContext) { return (Serializable) Collections.singletonList(inActionContext.getParams()); }  }
WrapInListRequestTransformer implements RequestTransformer { @Override public Serializable transform(final ActionContext inActionContext) { return (Serializable) Collections.singletonList(inActionContext.getParams()); }  @Override Serializable transform(final ActionContext inActionContext); }
WrapInListRequestTransformer implements RequestTransformer { @Override public Serializable transform(final ActionContext inActionContext) { return (Serializable) Collections.singletonList(inActionContext.getParams()); }  @Override Serializable transform(final ActionContext inActionContext);  }