kotlin test optional code example Example: kotlin optional test every { mock.method(param) } returns Optional.of(value)