ReleaseId depId = ks.newReleaseId("org.kie", "test-types", "1.0");
InternalKieModule kJar1 = createKieJarWithType(ks, depId);
MavenRepository repository = getMavenRepository();
repository.deployArtifact(depId, kJar1, kPom);
ReleaseId releaseId = ks.newReleaseId("org.kie", "test-rules", "1.0");
InternalKieModule kieModule = createKieJarWithRules(ks, releaseId, depId);
KieContainer kieContainer = ks.newKieContainer(releaseId);
KieSession ksession = kieContainer.newKieSession("KSession1");
checkKSession(ksession, 15);