### Question:
ArchivaDavSessionProvider implements DavSessionProvider { @Override public void releaseSession( WebdavRequest request ) { request.setDavSession( null ); } ArchivaDavSessionProvider( ServletAuthenticator servletAuth, HttpAuthenticator httpAuth ); @Override boolean attachSession( WebdavRequest request ); @Override void releaseSession( WebdavRequest request );  }### Answer:
@Test public void testReleaseSession() throws Exception { assertNull( request.getDavSession() ); sessionProvider.attachSession( request ); assertNotNull( request.getDavSession() ); sessionProvider.releaseSession( request ); assertNull( request.getDavSession() ); }