Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
synergy-api-util
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Raimbek Egemberdiev
synergy-api-util
Commits
5be381ee
Commit
5be381ee
authored
Nov 11, 2016
by
Raimbek Egemberdiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed error call methods
parent
27e0f42b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/test/java/kz/arta/synergy/api/asforms/AsFormServiceTest.java
...t/java/kz/arta/synergy/api/asforms/AsFormServiceTest.java
+1
-1
No files found.
src/test/java/kz/arta/synergy/api/asforms/AsFormServiceTest.java
View file @
5be381ee
...
@@ -61,7 +61,7 @@ public class AsFormServiceTest {
...
@@ -61,7 +61,7 @@ public class AsFormServiceTest {
RestHttpQuery
restHttpQueryMock
=
Mockito
.
mock
(
RestHttpQuery
.
class
);
RestHttpQuery
restHttpQueryMock
=
Mockito
.
mock
(
RestHttpQuery
.
class
);
Mockito
.
when
(
restHttpQueryMock
.
doQuery
(
Mockito
.
any
(
Query
.
class
))).
thenReturn
(
JsonUtils
.
toJson
(
asFormWrapper
));
Mockito
.
when
(
restHttpQueryMock
.
doQuery
(
Mockito
.
any
(
Query
.
class
))).
thenReturn
(
JsonUtils
.
toJson
(
asFormWrapper
));
asFormService
=
AsFormService
.
newInstance
(
new
QueryContext
(
"localhost"
)).
setRestHttpQuery
(
restHttpQueryMock
);
asFormService
=
AsFormService
.
newInstance
(
new
QueryContext
(
"localhost"
)).
setRestHttpQuery
(
restHttpQueryMock
);
testForm
=
asFormService
.
fetch
(
TestForm
.
class
,
"123456"
);
testForm
=
asFormService
.
getData
(
TestForm
.
class
,
"123456"
);
}
}
@Test
@Test
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment