Last active
April 27, 2023 05:29
-
-
Save ederrafo/26d11ea6284cccfbb091ace1d2367409 to your computer and use it in GitHub Desktop.
junit java test
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
private ItemGroupTransfer itemGroupTransfer; | |
@Before | |
public void setUp() { | |
businessData = SupportTest.getBusinessData(); | |
itemGroupTransfer = new ItemGroupTransfer( | |
correlativeServiceStub, apiConnectorMock, saleInformationRepositoryMock); | |
ReflectionTestUtils.setField(itemGroupTransfer, "refundIgvConnector", refundIgvConnector); | |
ReflectionTestUtils.setField(itemGroupTransfer, "contractService", contractService); | |
ReflectionTestUtils.setField(itemGroupTransfer, "zMerxService", zMerxService); | |
ReflectionTestUtils.setField(itemGroupTransfer, "itemService", itemServiceMock); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment