@Test
public void builderResolvesSourceWithNoopResolverIfValueResolverNotProvidedAndConfigurationNotProvided() {

    // given
    String var1Name = UUID.randomUUID().toString();
    String var1Value = UUID.randomUUID().toString();
    String var2Name = UUID.randomUUID().toString();
    String var2Value = UUID.randomUUID().toString();
    System.setProperty(var1Name, var1Value);
    System.setProperty(var2Name, var2Value);
    String source  = String.format("{\n\t\"%s: \"%s\",\n\t\"%s: \"%s\"}",
            var1Name, String.format("${sys:%s}", var1Name),
            var2Name, String.format("${sys:%s}", var2Name));
    IndexTemplate.Builder builder = createTestIndexTemplateBuilder()
            .withPath(null)
            .withSource(source)
            .withConfiguration(null)
            .withValueResolver(null);
    // when
    IndexTemplate template = builder.build();
    // then
    assertEquals(source, template.getSource());
}