Program: 54796
Project: 54796
Buggy source:
@Test public void stopOnServerFailure() throws Exception {
  new MockUnit(Binder.class).expect(unit -> {
    Server server=unit.mock(Server.class);
    server.start();
    server.join();
    server.stop();
    expectLastCall().andThrow(new Exception());
    ScopedBindingBuilder serverScope=unit.mock(ScopedBindingBuilder.class);
    serverScope.in(Singleton.class);
    expectLastCall().times(0,1);
    AnnotatedBindingBuilder<Server> serverBinding=unit.mock(AnnotatedBindingBuilder.class);
    expect(serverBinding.to(isA(Class.class))).andReturn(serverScope).times(0,1);
    Binder binder=unit.get(Binder.class);
    expect(binder.bind(Server.class)).andReturn(serverBinding).times(0,1);
    unit.constructor(AppPrinter.class).args(Set.class,Set.class,Config.class).build(isA(Set.class),isA(Set.class),isA(Config.class));
    Config config=unit.mock(Config.class);
    expect(config.getString("String_Node_Str")).andReturn("String_Node_Str");
    expect(config.hasPath("String_Node_Str")).andReturn(true);
    expect(config.getBoolean("String_Node_Str")).andReturn(true);
    Injector injector=unit.mock(Injector.class);
    expect(injector.getInstance(Server.class)).andReturn(server).times(1,2);
    expect(injector.getInstance(Config.class)).andReturn(config);
    expect(injector.getInstance(Route.KEY)).andReturn(Collections.emptySet());
    expect(injector.getInstance(WebSocket.KEY)).andReturn(Collections.emptySet());
    unit.mockStatic(Guice.class);
    expect(Guice.createInjector(eq(Stage.DEVELOPMENT),unit.capture(Module.class))).andReturn(injector);
    unit.mockStatic(OptionalBinder.class);
    TypeConverters tc=unit.mockConstructor(TypeConverters.class);
    tc.configure(binder);
  }
).expect(shutdown).expect(config).expect(env).expect(classInfo).expect(ssl).expect(charset).expect(locale).expect(zoneId).expect(timeZone).expect(dateTimeFormatter).expect(numberFormat).expect(decimalFormat).expect(renderers).expect(session).expect(routes).expect(routeHandler).expect(params).expect(requestScope).expect(webSockets).expect(tmpdir).expect(err).expect(executor("String_Node_Str")).run(unit -> {
    Jooby jooby=new Jooby();
    jooby.start();
  }
,boot);
}

Fixed version (ground truth):
@Test public void stopOnServerFailure() throws Exception {
  new MockUnit(Binder.class).expect(unit -> {
    Server server=unit.mock(Server.class);
    server.start();
    server.join();
    server.stop();
    expectLastCall().andThrow(new Exception());
    ScopedBindingBuilder serverScope=unit.mock(ScopedBindingBuilder.class);
    serverScope.in(Singleton.class);
    expectLastCall().times(0,1);
    AnnotatedBindingBuilder<Server> serverBinding=unit.mock(AnnotatedBindingBuilder.class);
    expect(serverBinding.to(isA(Class.class))).andReturn(serverScope).times(0,1);
    Binder binder=unit.get(Binder.class);
    expect(binder.bind(Server.class)).andReturn(serverBinding).times(0,1);
    Config config=unit.mock(Config.class);
    expect(config.getString("String_Node_Str")).andReturn("String_Node_Str");
    expect(config.hasPath("String_Node_Str")).andReturn(true);
    expect(config.getBoolean("String_Node_Str")).andReturn(true);
    AppPrinter printer=unit.constructor(AppPrinter.class).args(Set.class,Set.class,Config.class).build(isA(Set.class),isA(Set.class),isA(Config.class));
    printer.printConf(isA(Logger.class),eq(config));
    Injector injector=unit.mock(Injector.class);
    expect(injector.getInstance(Server.class)).andReturn(server).times(1,2);
    expect(injector.getInstance(Config.class)).andReturn(config);
    expect(injector.getInstance(Route.KEY)).andReturn(Collections.emptySet());
    expect(injector.getInstance(WebSocket.KEY)).andReturn(Collections.emptySet());
    unit.mockStatic(Guice.class);
    expect(Guice.createInjector(eq(Stage.DEVELOPMENT),unit.capture(Module.class))).andReturn(injector);
    unit.mockStatic(OptionalBinder.class);
    TypeConverters tc=unit.mockConstructor(TypeConverters.class);
    tc.configure(binder);
  }
).expect(shutdown).expect(config).expect(env).expect(classInfo).expect(ssl).expect(charset).expect(locale).expect(zoneId).expect(timeZone).expect(dateTimeFormatter).expect(numberFormat).expect(decimalFormat).expect(renderers).expect(session).expect(routes).expect(routeHandler).expect(params).expect(requestScope).expect(webSockets).expect(tmpdir).expect(err).expect(executor("String_Node_Str")).run(unit -> {
    Jooby jooby=new Jooby();
    jooby.start();
  }
,boot);
}