@Test
@PrepareForTest(InstallPackage.class)
public void testExecute() throws Exception {

  // Given
  final CloneGit cloneGit = mock(CloneGit.class);
  final FileSet fileSet = mock(FileSet.class);
  mockStatic(Files.class);
  when(Files.createDirectories(any())).thenReturn(null);
  whenNew(CloneGit.class).withAnyArguments().thenReturn(cloneGit);
  when(cloneGit.getFileSet()).thenReturn(fileSet);
  // When
  final InstallPackage command = new InstallPackage();
  command.setPrinter(DummyMessagePrinter.getInstance());
  command.setArguments(singletonList(randomUUID().toString() + "/" + randomUUID().toString()));
  command.execute();
  // Then
}