summaryrefslogtreecommitdiff
path: root/same/src/test/java/com/orbekk/same/TestConnectionManager.java
blob: a41ec482838293cf40cb9316b31ac1ef059adedc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.orbekk.same;

import java.util.Map;
import java.util.HashMap;
import org.junit.Ignore;

@Ignore
public class TestConnectionManager implements ConnectionManager {
    public Map<String, ClientService> clientMap =
        new HashMap<String, ClientService>();
    public Map<String, MasterService> masterMap =
        new HashMap<String, MasterService>();

    public TestConnectionManager() {
    }

    public ClientService getClient(String url) {
        return clientMap.get(url);
    }

    public MasterService getMaster(String url) {
        return masterMap.get(url);
    }
}