public static <T> Provider<T> outOfScope(final Key<T> key) { return () -> { throw new OutOfScopeException(key.toString()); }; }
@Override public void describeTo(Description description) { description.appendText("Guice injected instance of " + typeKey.toString()); }