### Question:
InMemoryPipelineExecutorRegistry implements PipelineExecutorRegistry { @Override public PipelineExecutorTrace getExecutorTrace(final String pipelineExecutionId) { return recordsMap.get(pipelineExecutionId); } InMemoryPipelineExecutorRegistry(); @Override void register(final PipelineExecutorTrace trace); void deregister(final String pipelineExecutionId); @Override PipelineExecutorTrace getExecutorTrace(final String pipelineExecutionId); @Override Collection<PipelineExecutorTrace> getExecutorTraces(); @Override PipelineExecutorTrace getExecutorTrace(final RuntimeId runtimeId);  }### Answer:
@Test public void testGetExecutorTrace() { pipelineExecutorRegistry.register(trace); PipelineExecutorTrace result = pipelineExecutorRegistry.getExecutorTrace(PIPELINE_EXECUTION_ID); assertEquals(trace, result); }