@Test
public void getPullStatusListener() {

    CreateAgentParameters params = CreateAgentParameters.from(Node.EMPTY_OBJECT);
    assertThat(params.getPullStatusListener()).isEqualTo(PullStatusListener.NOOP);
    PullStatusListener listener = (status, layer, percent) -> {};
    assertThat(params.pullStatusListener(listener).getPullStatusListener()).isEqualTo(listener);
}