-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07ef71f
commit 0b517f1
Showing
5 changed files
with
30 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package it.gov.pagopa.tpp.utils; | ||
|
||
import it.gov.pagopa.tpp.dto.TppDTO; | ||
import it.gov.pagopa.tpp.dto.TppIdList; | ||
import it.gov.pagopa.tpp.utils.faker.TppDTOFaker; | ||
import it.gov.pagopa.tpp.utils.faker.TppFaker; | ||
import it.gov.pagopa.tpp.model.Tpp; | ||
|
||
import java.util.List; | ||
|
||
public class TestUtils { | ||
|
||
public TestUtils (){} | ||
|
||
public static final TppDTO MOCK_TPP_DTO = TppDTOFaker.mockInstance(true); | ||
public static final Tpp MOCK_TPP = TppFaker.mockInstance(true); | ||
public static final List<TppDTO> MOCK_TPP_DTO_LIST = List.of(MOCK_TPP_DTO); | ||
public static final List<Tpp> MOCK_TPP_LIST = List.of(MOCK_TPP); | ||
public static final List<String> MOCK_TPP_ID_STRING_LIST = List.of(MOCK_TPP_DTO.getTppId()); | ||
public static final TppIdList MOCK_TPP_ID_LIST = new TppIdList(MOCK_TPP_ID_STRING_LIST); | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
.../it/gov/pagopa/tpp/faker/TppDTOFaker.java → ...v/pagopa/tpp/utils/faker/TppDTOFaker.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ava/it/gov/pagopa/tpp/faker/TppFaker.java → .../gov/pagopa/tpp/utils/faker/TppFaker.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters