@Test void testMapEntityLong() throws URISyntaxException { Entity entity = createMockEntity(LONG); doReturn(Long.MAX_VALUE).when(entity).getLong("attr"); URI self = new URI("http: EntityResponse expectedEntityResponse = EntityResponse.builder() .setLinks(LinksResponse.create(null, self, null)) .setData(singletonMap("attr", Long.MAX_VALUE)) .build(); assertEquals(expectedEntityResponse, entityMapper.map(entity, FULL_SELECTION, EMPTY_SELECTION)); }
@Override public EntityResponse map(Entity entity, Selection filter, Selection expand) { return mapRecursive(entity, filter, expand, 0); }
EntityMapperImpl implements EntityMapper { @Override public EntityResponse map(Entity entity, Selection filter, Selection expand) { return mapRecursive(entity, filter, expand, 0); } }
EntityMapperImpl implements EntityMapper { @Override public EntityResponse map(Entity entity, Selection filter, Selection expand) { return mapRecursive(entity, filter, expand, 0); }  }
EntityMapperImpl implements EntityMapper { @Override public EntityResponse map(Entity entity, Selection filter, Selection expand) { return mapRecursive(entity, filter, expand, 0); }  @Override EntityResponse map(Entity entity, Selection filter, Selection expand); @Override EntitiesResponse map(
      EntityCollection entityCollection,
      Selection filter,
      Selection expand,
      int size,
      int number,
      int total); }
EntityMapperImpl implements EntityMapper { @Override public EntityResponse map(Entity entity, Selection filter, Selection expand) { return mapRecursive(entity, filter, expand, 0); }  @Override EntityResponse map(Entity entity, Selection filter, Selection expand); @Override EntitiesResponse map(
      EntityCollection entityCollection,
      Selection filter,
      Selection expand,
      int size,
      int number,
      int total);  }