[Demonstration 1]

[Buggy Method]
@Test
public void clearByCategory_existingCategoryWithShortcut() {
    String categoryDetails = "c/friends";
    TestTask[] expectedTaskList = new TestTask[] { td.carl, td.daniel, td.elle, td.fiona, td.george };
    boolean isShortedCommand = true;
    assertClearSuccess(isShortedCommand, categoryDetails, expectedTaskList);
}

[Buggy Hunk]
new TestTask[]{td.carl, td.daniel, td.elle, td.fiona, td.george};

[Patch]
new TestTask[]{td.carl,  td.elle, td.daniel, td.george, td.fiona};

[Demonstration 2]

[Buggy Method]
@Test
public void testWithParam() {
    // GIVEN
    String url = "http://localhost/";
    Post post = new Post(url).postParam("a", "b");
    // WHEN
    String request = post.getRequest();
    ImmutableMap<String, Object> params = post.getParams();
    // THEN
    assertEquals(url, request);
    assertEquals(ImmutableMultimap.of("a", "b"), params);
}

[Buggy Hunk]
assertEquals(ImmutableMultimap.of("a", "b"), params);

[Patch]
assertEquals(ImmutableMap.of("a", "b"), params);