### Question:
Dimension implements Comparable<Dimension> { public static Builder builder() { return new Builder(); } Dimension(String name, int length);  Dimension(String name, int length, boolean isShared, boolean isUnlimited, boolean isVariableLength); private  Dimension(Builder builder); int getLength(); String getShortName(); boolean isUnlimited(); boolean isVariableLength(); boolean isShared(); String makeFullName(Variable v); String makeFullName(Group containingGroup); @Override boolean equals(Object o); @Override int hashCode(); int compareTo(Dimension odim); @Override String toString(); Builder toBuilder(); static Builder builder(); static Builder builder(String name, int length); static final Dimension VLEN; }### Answer:
@Test public void testBuilder() { Dimension dim = Dimension.builder().setName("name").setLength(99).setIsUnlimited(true).setIsShared(false).build(); assertThat(dim.getShortName()).isEqualTo("name"); assertThat(dim.getLength()).isEqualTo(99); assertThat(dim.isUnlimited()).isEqualTo(true); assertThat(dim.isShared()).isEqualTo(false); }