[Demonstration 1]

[Buggy Method]
@Test
public void testInsert() {
    heap.insert(10);
    assertEquals("Incorrect size", 1, heap.size());
}

[Buggy Hunk]
assertEquals("Incorrect size",1,heap.size());

[Patch]
this.testPollInteger(new Integer[]{10});

[Demonstration 2]

[Buggy Method]
private void playGame() {
    String chosen = chooseGame();
    if (isSelected(chosen)) {
        new MainMenu(new Loader(chosen), polyglot, IOResources);
    }
}

[Buggy Hunk]
new MainMenu(new Loader(chosen), polyglot, IOResources);

[Patch]
new MainMenu(new Loader(chosen, null), polyglot, IOResources);

[Demonstration 3]

[Buggy Method]
@Test(dataProvider = "Data for incorrect login")
public void loginToMailWithInCorrectPasswordTest(String login, String password) {
    driver.get(MAIL_RU);
    LoginPage loginPage = new LoginPage(driver);
    ErrorLoginPage errorLoginPage = loginPage.errorLoginPage(login, password);
    Assert.assertTrue(errorLoginPage.getErrorMsg(), "Expected incorrect loginTest or password");
}

[Buggy Hunk]
Assert.assertTrue(errorLoginPage.getErrorMsg(), "Expected incorrect loginTest or password");

[Patch]
Assert.assertTrue(errorLoginPage.isErrorMsg(), "Expected incorrect loginTest or password");