1 package org.openecomp.sdc.common.listener;
5 import javax.servlet.ServletContext;
6 import javax.servlet.ServletContextEvent;
11 public class AppContextListenerTest {
13 private AppContextListener createTestSubject() {
14 return new AppContextListener();
22 public void testContextDestroyed() throws Exception {
23 AppContextListener testSubject;
24 ServletContextEvent context = null;
27 testSubject = createTestSubject();
28 testSubject.contextDestroyed(context);
35 public void testGetManifestInfo() throws Exception {
36 ServletContext application = null;
37 Map<String, String> result;
40 result = AppContextListener.getManifestInfo(application);