org.silverpeas.attachment.mock
Class WebdavServiceMockWrapper
java.lang.Object
org.silverpeas.attachment.mock.WebdavServiceMockWrapper
- All Implemented Interfaces:
- WebdavService
public class WebdavServiceMockWrapper
- extends Object
- implements WebdavService
A wrapper of a mock of an WebdavService instance dedicated to the tests. This wrapper
decorates the mock and it is used to be managed by an IoC container as an
WebdavService instance.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebdavServiceMockWrapper
public WebdavServiceMockWrapper()
getMock
public WebdavService getMock()
updateDocumentContent
public void updateDocumentContent(SimpleDocument document)
- Specified by:
updateDocumentContent in interface WebdavService
getContentEditionLanguage
public String getContentEditionLanguage(SimpleDocument document)
- Specified by:
getContentEditionLanguage in interface WebdavService
getContentEditionSize
public long getContentEditionSize(SimpleDocument document)
- Specified by:
getContentEditionSize in interface WebdavService
Copyright © 2016 Silverpeas. All Rights Reserved.