DatastoreServiceFactory.getDatastoreService().put(new Entity(key));
String keyString = KeyFactory.keyToString(key);
assertEquals(new StringPropertyInfo("str"), service.parsePropertyExp(keyString, "'str'", null));
assertEquals(new LongPropertyInfo(10l), service.parsePropertyExp(keyString, "10", null));
assertEquals(new DoublePropertyInfo(10.5D), service.parsePropertyExp(keyString, "10.5", null));
assertEquals(new LongPropertyInfo(10l), service.parsePropertyExp(keyString, "long(10.5)", null));
assertEquals(new DoublePropertyInfo(10D), service.parsePropertyExp(keyString, "double(10)", null));
assertEquals(new ListPropertyInfo().add(new LongPropertyInfo(10)).add(new StringPropertyInfo("abc")),
service.parsePropertyExp(keyString, "list(10, 'abc')", new ArrayList<String>()));
}