@Test
public void testWithMap() {

    Map<String, String> propertyFirst = new HashMap<>();
    propertyFirst.put("firstKey", "firstValue");
    SimplePropertySource source = new SimplePropertySource("testWithMap", propertyFirst, 166);
    assertThat(source.getName()).isEqualTo("testWithMap");
    assertThat(source.getDefaultOrdinal()).isEqualTo(166);
    assertThat(source.getProperties()).containsKey("firstKey");
}