Skip to content
Snippets Groups Projects
Commit 4a424daa authored by OZGCloud's avatar OZGCloud
Browse files

OZG-5571 Renamed Variable

parent 092f9f27
No related branches found
No related tags found
No related merge requests found
......@@ -298,7 +298,7 @@ class ExportBescheidServiceTest {
class TestBuildDokumentType {
private final BescheidExportInput exportInput = BescheidExportInputTestFactory.create();
private final Bescheid bescheid = BescheidExportInputTestFactory.BESCHEID;
private final List<OzgFile> attachments = BescheidExportInputTestFactory.FILES;
private final List<OzgFile> files = BescheidExportInputTestFactory.FILES;
private final String fullName = UserProfileTestFactory.FULLNAME;
private MockedStatic<DokumentTypeBuilder> dokumentTypeBuilderMockedStatic;
......@@ -311,7 +311,7 @@ class ExportBescheidServiceTest {
dokumentTypeBuilderMockedStatic.when(DokumentTypeBuilder::builder).thenReturn(dokumentTypeBuilder);
when(dokumentTypeBuilder.withBescheid(bescheid)).thenReturn(dokumentTypeBuilder);
when(dokumentTypeBuilder.withFiles(attachments)).thenReturn(dokumentTypeBuilder);
when(dokumentTypeBuilder.withFiles(files)).thenReturn(dokumentTypeBuilder);
when(dokumentTypeBuilder.withFullName(fullName)).thenReturn(dokumentTypeBuilder);
when(dokumentTypeBuilder.withOrganisationseinheitenId(BescheidExportInputTestFactory.ORGANISATIONSEINHEITEN_ID))
.thenReturn(dokumentTypeBuilder);
......@@ -342,7 +342,7 @@ class ExportBescheidServiceTest {
void shouldBuildWithOzgFiles() {
callService();
verify(dokumentTypeBuilder).withFiles(attachments);
verify(dokumentTypeBuilder).withFiles(files);
}
@Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment