@Test
public void shouldReturnNullWhenNullIsProvided() {

    Properties props = new Properties();
    StrSubstitutor substitutor = new StrSubstitutor(props);
    assertNull(substitutor.replace(null));
}