title: Flutter Test MissingPluginException
body: <p>Running tests which rely on the SharedPreferences Plugin always result in</p>
  
  <pre><code>MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)
  </code></pre>
  
  <p>My pubspec.yaml</p>
  
  <pre><code>dev_dependencies:
    flutter_test:
       sdk: flutter
  
  dependencies:
    flutter:
       sdk: flutter
    shared_preferences: 0.2.3
  </code></pre>
  
  <p>The code for works fine in the application itself.
  Am i missing something i need to do in order to run tests which make use of a plugin?</p>