{
PojoWithRiakMethodsIncluded pojo = new PojoWithRiakMethodsIncluded();
JSONConverter<PojoWithRiakMethodsIncluded> jc =
new JSONConverter<PojoWithRiakMethodsIncluded>(new TypeReference<PojoWithRiakMethodsIncluded>(){});
RiakObject o = jc.fromDomain(pojo, null, null).getRiakObject();
String json = o.getValue().toString();
assertTrue(fieldExistsInJson(json,"key"));
assertTrue(fieldExistsInJson(json,"bucketName"));
assertTrue(fieldExistsInJson(json,"bucketType"));
assertTrue(fieldExistsInJson(json,"usermeta"));
assertTrue(fieldExistsInJson(json,"index"));