  @Test
  void getStrengthShouldReturnCurrentStrengthIfCurrentDurationCloserToGoal() {

    // given

    // when
    int actual = bcCryptWorkFactorService.getStrength(960, 1021, 5);

    // then
    assertThat(actual).isEqualTo(5);
  }