Kotlin, Kotest, Property Based Testing.
applicationService.createOutput(inputDto) } exception.message shouldBe "Date '2025-01-01' must be within '2022-01-01' and '2022-12-31'." } @Test fun `throws exception if amount is below zero`() { // given val inputDto = createValidInputDto().copy( amount = -1 ) // when + then val exception =