FELIX-2768 Adapt unit test: sendError is not called but only setStatus

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1056883 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/http/base/src/test/java/org/apache/felix/http/base/internal/handler/ServletHandlerTest.java b/http/base/src/test/java/org/apache/felix/http/base/internal/handler/ServletHandlerTest.java
index eb7124d..abb49b4 100644
--- a/http/base/src/test/java/org/apache/felix/http/base/internal/handler/ServletHandlerTest.java
+++ b/http/base/src/test/java/org/apache/felix/http/base/internal/handler/ServletHandlerTest.java
@@ -133,7 +133,7 @@
 
         Assert.assertTrue(result);
         Mockito.verify(this.servlet, Mockito.never()).service(req, res);
-        Mockito.verify(res).sendError(HttpServletResponse.SC_FORBIDDEN);
+        Mockito.verify(res).setStatus(HttpServletResponse.SC_FORBIDDEN);
     }
 
     @Test