@Before
public void setup() throws Exception {
MockitoAnnotations.initMocks(this);
callback = new TestCallback();
mock = Mockito.mock(PeliasService.class);
<BUG>peliasWithMock = new Pelias(mock);
}
@Test
public void doc_getDocument() throws Exception {
peliasWithMock.doc("osmnode", "15", callback);
verify(mock).getDoc(eq("osmnode:15"), eq(apiKey), cb.capture());</BUG>
}

@Before
public void setup() throws Exception {
MockitoAnnotations.initMocks(this);
callback = new TestCallback();
mock = Mockito.mock(PeliasService.class);
peliasWithMock = new Pelias(mock);
peliasWithMock.setApiKey(apiKey);
}
