@Test @SuppressWarnings("unchecked") public void testTransformTuple() { final Class< ? > entityClass = DomainGroup.class; final Long entityId = 183874L; CachedModelViewResultTransformer sut = new CachedModelViewResultTransformer(); Map<String, Object> map = (Map<String, Object>) sut.transformTuple(new Object[] { entityClass, entityId }, new String[] { HIBERNATE_CLASS_PROPERTY_NAME, HIBERNATE_ID_PROPERTY_NAME }); assertEquals(entityClass, map.get(HIBERNATE_CLASS_PROPERTY_NAME)); assertEquals(entityId, map.get(HIBERNATE_ID_PROPERTY_NAME)); }
@Override public Object transformTuple(final Object[] inTuple, final String[] inAliases) { return getMapFromTuplesAndAliases(inTuple, inAliases); }
CachedModelViewResultTransformer implements ResultTransformer { @Override public Object transformTuple(final Object[] inTuple, final String[] inAliases) { return getMapFromTuplesAndAliases(inTuple, inAliases); } }
CachedModelViewResultTransformer implements ResultTransformer { @Override public Object transformTuple(final Object[] inTuple, final String[] inAliases) { return getMapFromTuplesAndAliases(inTuple, inAliases); }  }
CachedModelViewResultTransformer implements ResultTransformer { @Override public Object transformTuple(final Object[] inTuple, final String[] inAliases) { return getMapFromTuplesAndAliases(inTuple, inAliases); }  @Override @SuppressWarnings("unchecked") List transformList(final List inCollection); @Override Object transformTuple(final Object[] inTuple, final String[] inAliases); void setGetDomainGroupsByIdsMapper(
            final DomainMapper<List<Long>, List<DomainGroupModelView>> inGetDomainGroupsByIdsMapper); void setGetPeopleByIdsMapper(final DomainMapper<List<Long>, List<PersonModelView>> inGetPeopleByIdsMapper); }
CachedModelViewResultTransformer implements ResultTransformer { @Override public Object transformTuple(final Object[] inTuple, final String[] inAliases) { return getMapFromTuplesAndAliases(inTuple, inAliases); }  @Override @SuppressWarnings("unchecked") List transformList(final List inCollection); @Override Object transformTuple(final Object[] inTuple, final String[] inAliases); void setGetDomainGroupsByIdsMapper(
            final DomainMapper<List<Long>, List<DomainGroupModelView>> inGetDomainGroupsByIdsMapper); void setGetPeopleByIdsMapper(final DomainMapper<List<Long>, List<PersonModelView>> inGetPeopleByIdsMapper);  }