Package web.servlets.tests

Source Code of web.servlets.tests.MockParametersMapTest

package web.servlets.tests;

import static org.junit.Assert.*;

import org.junit.Test;

import web.servlets.MockParametersMap;
/**
* TODO add description
*
* @author Hussain Al-Mutawa
* @version 1.0
* @since 25 Sept 2011
*
*/
public class MockParametersMapTest {

  @Test  //TODO add description here
  public final void testMockParametersMap() {
    final MockParametersMap map = new MockParametersMap();
    assertNotNull(
        "check if the map is not initialized",
        map
        );
    assertNotNull(
        "check if there is a sessionId",
        map.get("sessionId")
        );
    assertNotNull(
        "check if there is a sessionId",
        map.get("uri")
        );
    assertNotNull(
        "check if there is a sessionId",
        map.get("baseUrl")
        );
  }

}
TOP

Related Classes of web.servlets.tests.MockParametersMapTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.