Long id = RandomUtils.nextLong(0,Long.MAX_VALUE);
EntityWithCompositePartitionKey entity = new EntityWithCompositePartitionKey(id, "type", "value");
manager.insert(entity);
EntityWithCompositePartitionKey found = manager.find(EntityWithCompositePartitionKey.class, new EmbeddedKey(id,
"type"));
assertThat(found).isNotNull();
assertThat(found).isInstanceOf(Factory.class);
assertThat(found.getId().getId()).isEqualTo(id);