WorkflowInstance { @JsonCreator public static WorkflowInstance create( @JsonProperty("workflow_id") WorkflowId workflowId, @JsonProperty("parameter") String parameter) { return new AutoValue_WorkflowInstance(workflowId, parameter); }  @JsonProperty abstract WorkflowId workflowId(); @JsonProperty abstract String parameter(); String toKey(); @JsonCreator static WorkflowInstance create(
      @JsonProperty("workflow_id") WorkflowId workflowId,
      @JsonProperty("parameter") String parameter); static WorkflowInstance parseKey(String key); @Override String toString(); static final Comparator<WorkflowInstance> KEY_COMPARATOR; }
@Test public void create() { assertThat(WORKFLOW_INSTANCE.workflowId(), is(WORKFLOW_ID)); assertThat(WORKFLOW_INSTANCE.parameter(), is(PARAMETER)); }