AgentHolderInfo { @Nonnull public String getId() { return id; } AgentHolderInfo(@Nonnull String id, @Nonnull String taskId, @Nonnull Map<String, String> labels, @Nonnull
            String stateMsg, @Nonnull String name, @Nonnull Instant creationTimestamp, boolean running); @Nonnull String getId(); @Nonnull String getTaskId(); @Nonnull Map<String, String> getLabels(); @Nonnull String getStateMsg(); @Nonnull String getName(); @Nonnull Instant getCreationTimestamp(); boolean isRunning();  }
@Test public void getId() { AgentHolderInfo info = new AgentHolderInfo("42", "42", emptyMap(), "", "", Instant.MIN, false); assertThat(info.getId()).isEqualTo("42"); }