private void assertPivot(String field,Object value,int count,PivotField actual){
  assertEquals("FIELD: " + actual.toString(),field,actual.getField());
  assertEquals("VALUE: " + actual.toString(),value,actual.getValue());
  assertEquals("COUNT: " + actual.toString(),count,actual.getCount());
}

private void assertPivot ( String field , Object value , int count , PivotField actual ) { assertEquals ( "FIELD: " + actual . toString ( ) , field , actual . getField ( ) ) ; assertEquals ( "VALUE: " + actual . toString ( ) , value , actual . getValue ( ) ) ; assertEquals ( "COUNT: " + actual . toString ( ) , count , actual . getCount ( ) ) ; }
asserts that the actual pivotfield matches the expected criteria
