@Test
public void buildingWithValidName() {

    final String key = "myTestKey";
    Builder builder = SimplePropertySource.newBuilder().withName(key);
    assertThat(builder.build().getName()).isEqualTo(key);
}