@Test
public void testPreemptCycle() {

  int[][] qData = new int[][]{
    //  /   A   B   C
    { 100, 40, 40, 20 },  // abs
    { 100, 100, 100, 100 },  // maxCap
    { 100,  0, 60, 40 },  // used
    {  10, 10,  0,  0 },  // pending
    {   0,  0,  0,  0 },  // reserved
    {   3,  1,  1,  1 },  // apps
    {  -1,  1,  1,  1 },  // req granularity
    {   3,  0,  0,  0 },  // subqueues
  };
  ProportionalCapacityPreemptionPolicy policy = buildPolicy(qData);
  policy.editSchedule();
  // ensure all pending rsrc from A get preempted from other queues
  verify(mDisp, times(10)).handle(argThat(new IsPreemptionRequestFor(appC)));
}