@Test
public void testNewPropsForFileNotExist() throws IOException {

  File file = Mockito.mock(File.class);
  Mockito.when(file.exists()).thenReturn(false);
  Props parent = new Props().setSource("test");
  Props props = PropsUtils.newProps(parent, file);
  Assert.assertNotNull(props);
  Assert.assertNotNull(props.getParent());
  Assert.assertEquals("test", props.getParent().getSource());
}