### Question:
ContinuousVariableType extends AbstractEntity implements VariableType { public BasicMeasurement buildMeasurement() { return new BasicContinuousMeasurement(null, null, null); } ContinuousVariableType();  ContinuousVariableType(String unitOfMeasurement); String getType(); String getUnitOfMeasurement(); void setUnitOfMeasurement(String unit); BasicMeasurement buildMeasurement(); BasicMeasurement buildMeasurement(int size); @Override Set<? extends Entity> getDependencies(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static final String PROPERTY_UNIT_OF_MEASUREMENT; }### Answer:
@Test public void testBuildMeasurement() { assertEntityEquals(new BasicContinuousMeasurement(null, null, 30), d_var.buildMeasurement(30)); assertEntityEquals(new BasicContinuousMeasurement(null, null, null), d_var.buildMeasurement()); assertNotNull(d_var.buildMeasurement()); }