Skip to content

Commit

Permalink
updating the ServletRequestListenerTest
Browse files Browse the repository at this point in the history
  • Loading branch information
laminba2003 committed Feb 18, 2021
1 parent 863f77e commit 68ce3ba
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/test/java/org/gservlet/ServletRequestListenerTest.java
Expand Up @@ -70,7 +70,6 @@ public Object answer(InvocationOnMock invocation) throws Throwable {
assertEquals(SessionWrapper.class, listener.getSession().getClass());
assertEquals(ServletContextWrapper.class, listener.getContext().getClass());
assertNotNull(listener.getLogger());
listener.invoke("requestRemoved", event);
}

@Test
Expand Down
Expand Up @@ -13,8 +13,4 @@ class ServletRequestListener {
context.setAttribute("state","requestDestroyed")
}

void requestRemoved() {
throw new UnsupportedOperationException();
}

}

0 comments on commit 68ce3ba

Please sign in to comment.