public void testPutNoExtensionGetResourceMeta() {
log.debug("test put get resource meta service");
Resource res = resourceTestFactory.getTextFlowTest();
sourceDocResource.putResource(res.getName(), res, null);
ResourceMeta sr = resourceTestFactory.getPoHeaderResourceMeta();
ResourceMeta base = resourceTestFactory.getResourceMeta();
sourceDocResource.putResourceMeta(sr.getName(), sr, null);
log.debug("get resource meta");
ClientResponse<ResourceMeta> resourceGetResponse =
sourceDocResource.getResourceMeta(sr.getName(), new StringSet(
"gettext;comment"));
ResourceMeta get = resourceGetResponse.getEntity();
ResourceTestUtil.clearRevs(base);
ResourceTestUtil.clearRevs(get);
assertThat(get.toString(), is(base.toString()));
}