Notes on using Mockito
@Test
public void myTest() {
final AppProperties props = spy(AppProperties.getInstance());
when(props.isThisEnabled()).thenReturn(true);
try( final MockStatic
// do my test and the code that uses
// AppProperites.getInstance()
// now gets my spy'ed version which allows me to fake out properties