@Test
void testGetLocation() {

    when(stageConfigurationProperties.getLocation())
            .thenReturn("testlocation");
    final StageLocation result = underTest.getLocation(TEST_DOCUMENT_ID, DocumentType.PDF)
            .block();
    assertThat(result.getPath().toString(), is(TEST_LOCATION + FileSystems.getDefault().getSeparator()
            + TEST_DOCUMENT_ID + ".pdf"));
}