import junit.framework.TestCase;
public class MockMockListTest extends TestCase {
public void testMockMockList() {
IClientX dctmClientX = new MockDmClientX();
IClient localClient = null;
try {
localClient = dctmClientX.getLocalClient();
} catch (RepositoryException e) {
assertTrue(false);
}
ISessionManager sessionManager = localClient.newSessionManager();
ILoginInfo ili = new MockDmLoginInfo();
ili.setUser("mark");
ili.setPassword("mark");
try {
sessionManager.setIdentity("SwordEventLog.txt", ili);