@Test
public void testMapExitStatus() {

    final String exitCode = "exitCode";
    final String exitDescription = "exitDescription";
    final org.springframework.batch.core.ExitStatus exitStatus = new org.springframework.batch.core.ExitStatus(exitCode, exitDescription);
    final ExitStatus result =
            BatchToResourceMapper.map(exitStatus);
    assertThat(result.getExitCode()).isEqualTo(exitCode);
    assertThat(result.getExitDescription()).isEqualTo(exitDescription);
}