// Path: src/main/java/ch/sbb/maven/plugins/iib/mojos/PrepareBarBuildWorkspaceMojo.java
// public static String verifyIibIncludeTypes(String includeTypes)
// {
//     if (includeTypes == null || includeTypes.trim().isEmpty())
//     {
//         includeTypes = "zip";
//     }
//     // / let's split up the String by comma's, and rebuild the expression without the jar
// 
//     final String regex = "\\s*,[,\\s]*";
//     String[] types = includeTypes.split(regex);
// 
//     String result = null;
//     for (String type : types)
//     {
//         if (type.trim().equalsIgnoreCase("jar"))
//         {
//             continue;
//         }
//         if (result == null)
//         {
//             result = type.trim();
//         }
//         else
//         {
//             result += "," + type.trim();
//         }
//     }
//     return result;
// 
// 
// }


import static ch.sbb.maven.plugins.iib.mojos.PrepareBarBuildWorkspaceMojo.verifyIibIncludeTypes;
import junit.framework.Assert;
import org.junit.Test;
package ch.sbb.maven.plugins.iib.mojos;




public class PrepareBarBuildWorkspaceMojoTest {

    @Test
    public void verifyIncludeTypes()
    {
        String types = "zip,jar";
// Path: src/main/java/ch/sbb/maven/plugins/iib/mojos/PrepareBarBuildWorkspaceMojo.java
// public static String verifyIibIncludeTypes(String includeTypes)
// {
//     if (includeTypes == null || includeTypes.trim().isEmpty())
//     {
//         includeTypes = "zip";
//     }
//     // / let's split up the String by comma's, and rebuild the expression without the jar
// 
//     final String regex = "\\s*,[,\\s]*";
//     String[] types = includeTypes.split(regex);
// 
//     String result = null;
//     for (String type : types)
//     {
//         if (type.trim().equalsIgnoreCase("jar"))
//         {
//             continue;
//         }
//         if (result == null)
//         {
//             result = type.trim();
//         }
//         else
//         {
//             result += "," + type.trim();
//         }
//     }
//     return result;
// 
// 
// }


// Path: src/test/java/ch/sbb/maven/plugins/iib/mojos/PrepareBarBuildWorkspaceMojoTest.java
import static ch.sbb.maven.plugins.iib.mojos.PrepareBarBuildWorkspaceMojo.verifyIibIncludeTypes;
import junit.framework.Assert;
import org.junit.Test;

package ch.sbb.maven.plugins.iib.mojos;




public class PrepareBarBuildWorkspaceMojoTest {

    @Test
    public void verifyIncludeTypes()
    {
        String types = "zip,jar";
        String actual = verifyIibIncludeTypes(types);