@Test
@PrepareForTest(ProjectFile.class)
public void testFrom() throws IOException {

  Path path = mock(Path.class);
  mockStatic(Files.class);
  when(Files.newInputStream(path)).thenReturn(openWithExtensionAs("json"));
  ProjectFile file = ProjectFile.from(path);
  assertNotNull(file);
}