KEY_RETRY_INTERVAL, "1000",
KEY_COMPONENT, DummyProcess.class.getName(),
PREFIX_COMPONENT + "hello1", "world1",
PREFIX_COMPONENT + "hello2", "world2",
PREFIX_COMPONENT + "hello3", "world3");
RetryableProcessProfile result = RetryableProcessProfile.convert(profile);
assertThat(result.getRetryCount(), is(10));
assertThat(result.getRetryInterval(), is(1000L));
assertThat(result.getComponent(), instanceOf(DummyProcess.class));
ProcessProfile inner = ((DummyProcess) result.getComponent()).inner;
assertThat(inner.getName(), is(not(profile.getName())));
assertThat(inner.getConfiguration(), is(map(
"hello1", "world1",
"hello2", "world2",
"hello3", "world3")));