pkgPath = Paths.convert( ioService.createDirectory( nioTestResourcesPackagePath ) );
}
//If pkgPath is null the package already existed in src/main/java, scr/main/resources, src/test/java and src/test/resources
if ( pkgPath == null ) {
throw new PackageAlreadyExistsException( packageName );
}
//Return new package
final Package newPackage = resolvePackage( pkgPath );
return newPackage;