deployer.afterPropertiesSet();
}
public void testCreateDeployment() throws Exception {
deployer.afterPropertiesSet();
BundleContext bundleCtx = new MockBundleContext();
String contextPath = "/path";
WarDeployment deployment = deployer.createDeployment(bundleCtx.getBundle(), contextPath);
assertNotNull(deployment);
JettyWarDeployment jettyDeployment = (JettyWarDeployment) deployment;
assertTrue(jettyDeployment.isActive());
WebAppContext ctx = jettyDeployment.getWebAppContext();
assertSame(server, ctx.getServer());