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