you are being too much stylish I think, I don't see any value adding 
    assertAnchorEquals(4, predicate)
rather than using this
    assertEquals(4, predicate.getAnchor().getValue());