### Question:
FieldDetails { public boolean IsPrimary() { return this.isPrimary; }  void setFieldName(String fieldName); void setFieldType(String fieldType); void setFieldLength(String fieldLength); void setDefault(String fieldDefault); void setPrimary(boolean isPrimary); void setUnique(boolean isUnique); void setIndex(boolean isIndex); void setBinary(boolean isBinary); void setNotNull(boolean isNotNull); void setUnisigned(boolean isUnsigned); void setAutoIncrement(boolean isAutoIncrement); void setZeroFill(boolean isZeroFill); String getFieldName(); String getFieldType(); String getFieldLength(); String getDefault(); boolean IsUnique(); boolean IsIndex(); boolean IsPrimary(); boolean IsBinary(); boolean IsNotNull(); boolean IsUnisigned(); boolean IsAutoIncrement(); boolean IsZeroFill(); String toString();  }### Answer:
@Test public void testIsPrimary() throws Exception { classUnderTest.setPrimary(true); assertEquals(true, classUnderTest.IsPrimary()); }