PreparedQuery preparedQuery = service.prepare(query);
Entity result = preparedQuery.asSingleEntity();
assertEquals(e.getKey(), result.getKey());
RawValue rawValue = (RawValue) result.getProperty("long");
assertEquals(Long.valueOf(123L), rawValue.asType(Long.class));
assertEquals(Long.valueOf(123L), rawValue.asStrictType(Long.class));
}