title: Use ExpectedException with Kotlin
body: <p>I've declared an expected exception with Kotlin: </p>
  
  <pre><code>@Rule
  public var exception = ExpectedException.none()
  </code></pre>
  
  <p>Now my integration test case: </p>
  
  <pre><code>@Test
  @Transactional
  fun authorize_withInvalidToken()
  {
      val response = controller.authorize(networkType = "facebook", oauthToken = "", oauthTokenSecret = null)
      exception.expect(UnauthorizedException::class.java)
  
  }
  </code></pre>
  
  <p>I get the error: </p>
  
  <pre><code>org.junit.internal.runners.rules.ValidationError: The @Rule 'exception' must be public.
  </code></pre>
  
  <p>Is there a way to fix this? For now I'll just use manual try/catch/assert</p>