### Question:
DetectorTemperatureProvider { private void readMetaInfo(String resource) throws IOException { int startTime = getMetaInfo(resource, "start"); this.startTime = (int) TimeUtil.secondsSince1981ToSecondsSinceEpoch(startTime); step = getMetaInfo(resource, "step"); final int numberOfRecords = getMetaInfo(resource, "number of records"); temperatures = new float[numberOfRecords]; } DetectorTemperatureProvider();   DetectorTemperatureProvider(String resourceName); static DetectorTemperatureProvider create(); float getDetectorTemperature(Date date); static final float FILL_VALUE; }### Answer:
@Test public void testReadMetaInfo() throws Exception { final DetectorTemperatureProvider provider = getDetectorTemperatureProviderForTesting(); assertEquals(2 * 365 * 24 * 60 * 60 + 366 * 24 * 60 * 60 + 333849750, provider.startTime); assertEquals(300, provider.step); assertEquals(36, provider.temperatures.length); }