@Test
public void shouldNormalizeJobTypes() throws Exception {

    // given
    final JobsProperties jobsProperties = new JobsProperties();
    jobsProperties.getStatus().setCalculator(new HashMap<String,String>() {{
        put("Some Job Type", "foo");
    }});
    // when
    Map<String, String> calculators = jobsProperties.getStatus().getCalculator();
    // then
    assertThat(calculators, hasEntry("some-job-type", "foo"));
}