@Test
void applyShouldReturnNoResourceIfValueSelectorMatchesAnElementButThePropertySelectedByTheNameSlectorIsMissing() {

    // Arrange
    ResourceCreatorConfiguration configuration = createSelectorTestConfiguration("$.missingName", "$.tmp");
    CompiledResourceCreatorConfiguration compiledResourceCreatorConfiguration = new CompiledResourceCreatorConfiguration(configuration);
    TerraformResource terraformResource = mockSelectorTestResource("{ \"foo\": \"bar\", \"tmp\": { \"a\": 1, \"b\": 2, \"name\": \"i am a name\" } }");
    // Act
    Collection<VirtualTerraformResource> results = compiledResourceCreatorConfiguration.apply(terraformResource);
    // Verrify
    assertThat(results).isEmpty();
}