@Test public void test() { context.checking(new Expectations() { { oneOf(mv).getEntityId(); will(returnValue(1L)); } }); assertEquals(1L, sut.transform(mv).longValue()); context.assertIsSatisfied(); }
@Override public Long transform(final ModelView inTransformType) { return inTransformType.getEntityId(); }
ModelViewToIdTransformer implements Transformer<ModelView, Long> { @Override public Long transform(final ModelView inTransformType) { return inTransformType.getEntityId(); } }
ModelViewToIdTransformer implements Transformer<ModelView, Long> { @Override public Long transform(final ModelView inTransformType) { return inTransformType.getEntityId(); }  }
ModelViewToIdTransformer implements Transformer<ModelView, Long> { @Override public Long transform(final ModelView inTransformType) { return inTransformType.getEntityId(); }  @Override Long transform(final ModelView inTransformType); }
ModelViewToIdTransformer implements Transformer<ModelView, Long> { @Override public Long transform(final ModelView inTransformType) { return inTransformType.getEntityId(); }  @Override Long transform(final ModelView inTransformType);  }