Commit 5be381ee authored by Raimbek Egemberdiev's avatar Raimbek Egemberdiev

fixed error call methods

parent 27e0f42b
......@@ -61,7 +61,7 @@ public class AsFormServiceTest {
RestHttpQuery restHttpQueryMock = Mockito.mock(RestHttpQuery.class);
Mockito.when(restHttpQueryMock.doQuery(Mockito.any(Query.class))).thenReturn(JsonUtils.toJson(asFormWrapper));
asFormService = AsFormService.newInstance(new QueryContext("localhost")).setRestHttpQuery(restHttpQueryMock);
testForm = asFormService.fetch(TestForm.class, "123456");
testForm = asFormService.getData(TestForm.class, "123456");
}
@Test
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment