public void entityDocumentWithInjectableTest() {
EntityMeta<LocationInjectedEntity> entityMeta = metaBuilder.buildEntityMeta(LocationInjectedEntity.class);
JacksonCouchJsonStrategy strategy = new JacksonCouchJsonStrategy();
strategy.setMissingInjectableResponse(MissingInjectableResponse.RETURN_NULL);
SimpleCouchInjectables injectables = new SimpleCouchInjectables();
injectables.addValue("injected", "injectedValue");
strategy.setCouchInjectables(injectables);
EntityDocument<LocationInjectedEntity> entityDoc = strategy.readEntityDocument(null, entityMeta, JacksonTestSetup.locationEntityDocJson);
assertEquals(entityDoc.getDocumentId(), "1122");
assertEquals(entityDoc.getEntityType(), "Location");