public void testAddContextPathAndMetaDataAndClassPath()
{
DeploymentFactory factory = createDeploymentFactory();
Deployment deployment = createDeployment();
List<ClassPathEntry> classPath = factory.createClassPath("ClassPath");
ContextInfo context = factory.addContext(deployment, "path", "metaDataPath", classPath);
assertEquals("path", context.getPath());
assertDefaultMetaDataPath(context.getMetaDataPath());
assertEquals(classPath, context.getClassPath());