@Test
public void patchBuilder() {

  List<PatchOperation> operations = HiveStatusPatchBuilder
      .patchBuilder()
      .set(AgentProperty.TRUCK_PARK_STATE, "bar")
      .build();
  assertThat(operations.size(), is(1));
  PatchOperation operation = operations.get(0);
  assertThat(operation.getOperation(), is(Operation.REPLACE));
  assertThat(operation.getPath(), is("/destinations/hive/status/truckParkState"));
  assertThat(operation.getValue(), is("bar"));
}