@@ -0,0 +1,633 @@
+package ru.job4j.threads;%0A%0Aimport org.junit.Test;%0A%0Aimport java.io.File;%0A%0Aimport static org.junit.Assert.assertTrue;%0A%0A/**%0A * Test Class PackZipTest.%0A *%0A * @author shustovakv%0A * @since 10.02.2019%0A */%0Apublic class PackZipTest %7B%0A    @Test%0A    public void whenPackZipCreateZipFile() %7B%0A        String%5B%5D args = %7B%22java -jar pack.jar%22, %22-d%22, %22C:%5C%5CUsers%5C%5CKseniya%5C%5CAppData%5C%5CLocal%5C%5CTemp%5C%5Cparent%22, %22-e%22, %22java.xml%22, %22-o%22, %22example.zip%22%7D;%0A        Args argument = new Args(args);%0A        PackZip packZip = new PackZip();%0A        packZip.zip(argument);%0A        assertTrue(new File(argument.directory() + %22%5C%5C%22 + argument.output()).exists());%0A    %7D%0A%7D%0A

Архивировать проект. [#861] Добавила тест.