resource.setUuid("" + new Random().nextInt());
Architecture arch = new Architecture("testPVCSInsertArch");
PackageType pt = new PackageType("testPVCSInsertPT", resource.getResourceType());
Package pkg = new Package("testPVCSInsertPackage", pt);
PackageVersion pv = new PackageVersion(pkg, "version", arch);
ContentSourceType cst = new ContentSourceType("testPVCSContentSourceType");
ContentSource cs = new ContentSource("testPVCSContentSource", cst);
PackageVersionContentSource pvcs = new PackageVersionContentSource(pv, cs, "fooLocation");
Configuration csConfig = new Configuration();
csConfig.put(new PropertySimple("csConfig1", "csConfig1Value"));