### Question:
Priority implements Comparable<Priority> { public boolean isDefault() { return weights.length == 0; } private  Priority(int[] weights, int seq); static Priority getDefault(); static Priority create(int weight, int... weights); boolean isDefault(); Priority next(); @Override boolean equals(Object obj); @Override int hashCode(); @Override int compareTo(Priority o); @Override String toString();  }### Answer:
@Test public void testIsDefault() { assertThat(defaultPriority.isDefault(), is(true)); assertThat(defaultPriority.next().isDefault(), is(true)); assertThat(one.isDefault(), is(false)); assertThat(oneTwo.isDefault(), is(false)); assertThat(two.isDefault(), is(false)); assertThat(two.next().isDefault(), is(false)); }