@Test
public void getUpdateJqlQueryStringReturnsExpectedQuery() {

    // given
    var expectedDateString = "2018-01-01 13:37";
    var datePatternString = "yyyy-MM-dd HH:mm";
    var dateTime = LocalDateTime.parse(expectedDateString, DateTimeFormatter.ofPattern(datePatternString));
    var expectedQueryString = String.format(" issuetype = \"Staffinganfrage\" AND project = \"Staffing\" AND ( updated >= \"%s\" OR created >= \"%s\" )",
            expectedDateString, expectedDateString);
    // when
    var actualQueryString = jiraProjectReader.getUpdateJqlQueryString(dateTime);
    // then
    assertThat(expectedQueryString).isEqualTo(actualQueryString);
}