@Test
public void getPullStrategy() {

    CreateAgentParameters params = CreateAgentParameters.from(Node.EMPTY_OBJECT);
    assertThat(params.getPullStrategy()).isSameAs(PullStrategy.NO_PULL);
    assertThat(params.pullStrategy(PullStrategy.PULL).getPullStrategy()).isEqualTo(PullStrategy.PULL);
    assertThatExceptionOfType(NullPointerException.class).isThrownBy(() -> params.pullStrategy(null));
}