{"action":"opened","issue":{"number":351,"created_at":"2011-10-24T09:45:33Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I switched form 4.8 to 4.10 and decided to change my MethodRule's to TestRule ... bad idea.\r\n\r\nI'm missing a way to get the FrameworkMethod, and the current test instance, they are missing now in the apply method:\r\n\r\nold:\r\n  public Statement apply(final Statement base, final FrameworkMethod method, Object target)\r\n\r\nnew:\r\n  public Statement apply(final Statement base, final Description description)\r\n\r\nHow can i get them? I debugged and the actual Statement instance is of type InvokeMethod, this would have what i need, but dosn't have getter for the private fields.\r\n\r\nAt the moment i can just keep using MethodRule, but i'm afraid this will not work in further versions anymore. \r\n","comments":0,"title":"missing current instance in TestRule apply()","updated_at":"2011-10-24T09:45:33Z","url":"https://api.github.com/repos/KentBeck/junit/issues/351","id":2031969,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/b3ae51ffe455df09a0418d84a8905f04?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b3ae51ffe455df09a0418d84a8905f04","url":"https://api.github.com/users/RainerW","id":118649,"login":"RainerW"},"html_url":"https://github.com/KentBeck/junit/issues/351","labels":[],"state":"open"},"legacy":{"number":351,"action":"opened","issue":2031969}}