@Test
public void getImageName() {

    CreateAgentParameters params = CreateAgentParameters.from(Node.EMPTY_OBJECT);
    assertThat(params.getImageName()).isEmpty();
    assertThat(params.imageName("test_image_name").getImageName().get()).isEqualTo("test_image_name");
    assertThatExceptionOfType(NullPointerException.class).isThrownBy(() -> params.imageName(null));
}