// Assert.assertEquals("Remote counter: ", 3, parent.increment());
Assert.assertEquals("Remote counter: ", 3, monitor.incrementParent());
parentInv++; //13-16
nestedInv++; //7-17
// Assert.assertEquals("Remote counter: ", 4, parent.increment());
Assert.assertEquals("Remote counter: ", 4, monitor.incrementParent());
parentInv++; //14-17
nestedInv++; //8-18
// Assert.assertEquals("Local counter: ", 3, parent.incrementLocal());
Assert.assertEquals("Local counter: ", 3, monitor.incrementLocalNested());
parentInv++; //15-18