Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
api-lib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
lib
api-lib
Merge requests
!2
Ozg 7608 vorgangshoellen for statistik
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Ozg 7608 vorgangshoellen for statistik
OZG-7608-vorgangshoellen-for-statistik
into
main
Overview
6
Commits
7
Pipelines
0
Changes
1
1 unresolved thread
Hide all comments
Merged
Krzysztof Witukiewicz
requested to merge
OZG-7608-vorgangshoellen-for-statistik
into
main
4 months ago
Overview
6
Commits
7
Pipelines
0
Changes
1
1 unresolved thread
Hide all comments
0
0
Merge request reports
Viewing commit
0c141d47
Prev
Next
Show latest version
1 file
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
0c141d47
OZG-7608 OZG-7736 Cleanup tests
· 0c141d47
Krzysztof Witukiewicz
authored
4 months ago
api-lib-core/src/test/java/de/ozgcloud/apilib/vorgang/grpc/GrpcOzgCloudVorgangServiceTest.java
+
3
−
3
View file @ 0c141d47
Edit in single-file editor
Open in Web IDE
Show full file
@@ -290,12 +290,12 @@ class GrpcOzgCloudVorgangServiceTest {
@BeforeEach
void
mock
()
{
doReturn
(
stub
).
when
(
service
).
getVorgangServiceStub
();
when
(
stub
.
findDeletedVorgang
(
request
)).
thenReturn
(
List
.
of
(
response
).
iterator
());
when
(
stubMapper
.
fromGrpc
(
response
.
getVorgangList
().
getFirst
())).
thenReturn
(
vorgangStub
);
when
(
stub
.
findDeletedVorgang
(
any
()
)).
thenReturn
(
List
.
of
(
response
).
iterator
());
when
(
stubMapper
.
fromGrpc
(
any
())).
thenReturn
(
vorgangStub
);
}
@Test
void
shouldCall
Get
VorgangServiceStub
()
{
void
shouldCallVorgangServiceStub
()
{
service
.
findDeleted
().
toList
();
verify
(
stub
).
findDeletedVorgang
(
request
);
Loading