assertEquals(sut.resolvePlaceholder(propName, properties, 0), "properties");
}
private void givenTomcatContextWithProps(String placeholder, String value) throws NamingException {
MockContextFactory.setAsInitial();
Context tomcatContext = new MockContextFactory().getInitialContext(null);
tomcatContext.bind(placeholder, value);
new InitialContext().bind("java:/comp/env", tomcatContext);
}