@Test
public void shouldNotBePossibleToCreateExecutionForDockerAndFlyte() {

  var exception = assertThrows(IllegalArgumentException.class, () ->
      Execution.create(
          Optional.of("123"),
          Optional.of("busybox"),
          Optional.of("1"),
          Optional.of(FLYTE_EXEC_CONF),
          Optional.of("1"),
          STATUS_LIST
      )
  );
  assertEquals(
      "Conflicting configuration: Both docker image and flyte conf specified for exec id: 123",
      exception.getMessage()
  );
}