* @throws NamespaceException
*/
public void testCannotRegisterSameAliasTwice() throws ServletException, NamespaceException
{
HttpService httpService = getHTTPService( registry.getBundleContext() );
boolean namespaceExceptionThrown = false;
httpService.registerServlet( "/alias", new BasicTestingServlet(), null, null );
try
{
httpService.registerServlet( "/alias", new BasicTestingServlet(), null, null );
}
catch ( NamespaceException e )
{
namespaceExceptionThrown = true;
}