@Test
public void testScopeAtInjectionPoint() {

  // Simple test written in response to a stack overflow error
  final Scope scope = new Scope();
  assertNotNull(
      new InjectionPoint(null, false, false, scope) {
      @Override
      public void inject(Stmt stmt) {
        throw new RuntimeException();
      }
      @Override
      public Stmt getNextStmt() {
        throw new RuntimeException();
      }
      @Override
      public boolean hasNextStmt() {
        throw new RuntimeException();
      }
      @Override
      public void replaceNext(Stmt stmt) {
        throw new RuntimeException();
      }
    }.scopeAtInjectionPoint());
}