### Question:
ExtractDefinitionBuilder { public ExtractDefinition build() { final double lat = this.lat; final double lon = this.lon; final int recordNo = this.recordNo; final Date date = this.date; final Number fillValue = this.fillValue; final int[] shape = this.shape; shape[0] = 1; return new ExtractDefinition() { @Override public final double getLat() { return lat; } @Override public final double getLon() { return lon; } @Override public final int getRecordNo() { return recordNo; } @Override public int[] getShape() { return shape; } @Override public final Date getDate() { return date; } @Override public int getHalfExtractDuration() { return halfExtractDuration; } @Override public Number getFillValue() { return fillValue; } }; } ExtractDefinitionBuilder(); ExtractDefinitionBuilder referenceObservation(ReferenceObservation refObs); ExtractDefinitionBuilder recordNo(int recordNo); ExtractDefinitionBuilder shape(int[] shape); ExtractDefinitionBuilder fillValue(Number fillValue); ExtractDefinitionBuilder lat(double lat); ExtractDefinitionBuilder lon(double lon); ExtractDefinitionBuilder halfExtractDuration(int halfExtractDuration); ExtractDefinition build();  }### Answer:
@Test public void testBuild_empty() { final ExtractDefinition ed = builder.build(); assertNotNull(ed); final int[] shape = ed.getShape(); assertEquals(1, shape.length); assertEquals(1, shape[0]); }