@Test
public void doesNotResolveNonDynamicVirtualProperties() {

    // given
    VirtualProperty virtualProperty = VirtualPropertyTest.createDefaultVirtualPropertyBuilder()
            .withDynamic(false)
            .build();
    StrSubstitutor strSubstitutor = spy(createDefaultTestStrSubstitutor());
    Log4j2Lookup lookup = createDefaultTestLog4j2Lookup(strSubstitutor);
    // when
    lookup.resolve(virtualProperty);
    // then
    verify(strSubstitutor, never()).replace(anyString());
}