AbstractDiscretePartitionRefiner implements DiscretePartitionRefiner { public void setup(PermutationGroup group, EquitablePartitionRefiner refiner) { this.bestExist = false; this.best = null; this.group = group; this.equitableRefiner = refiner; } AbstractDiscretePartitionRefiner(); void setup(PermutationGroup group, EquitablePartitionRefiner refiner); boolean firstIsIdentity(); Partition getAutomorphismPartition(); String getFirstHalfMatrixString(); String getHalfMatrixString(); PermutationGroup getAutomorphismGroup(); Permutation getBest(); Permutation getFirst(); boolean isCanonical(); void refine(Partition partition);  }
@Test public void setupTest() { int n = 5; PermutationGroup group = new PermutationGroup(n); Graph g = new Graph(n); MockRefiner refiner = new MockRefiner(g); setup(refiner, group, g); Assert.assertEquals(group, refiner.getAutomorphismGroup()); }