  @Test(expected = IllegalStateException.class)
  public void getProvider_shouldFail_whenScopeIsClosed() {

    // GIVEN
    ScopeImpl scope = new ScopeImpl("");

    // WHEN
    scope.close();
    scope.getProvider(Foo.class);

    // THEN
  }