MarketDataSpecificationJsonReader { public static MarketDataSpecification buildSpecification(String json) throws JSONException { return buildSpecification(new JSONObject(json)); }  static MarketDataSpecification buildSpecification(String json); static List<MarketDataSpecification> buildSpecifications(String json);  }
@Test public void live() throws JSONException { assertEquals(LIVE, MarketDataSpecificationJsonReader.buildSpecification(LIVE_JSON)); }
@Test public void fixedHistorical() throws JSONException { assertEquals(FIXED, MarketDataSpecificationJsonReader.buildSpecification(FIXED_JSON)); }
@Test public void latestHistorical() throws JSONException { assertEquals(LATEST, MarketDataSpecificationJsonReader.buildSpecification(LATEST_JSON)); }
@Test public void snapshot() throws JSONException { assertEquals(SNAPSHOT, MarketDataSpecificationJsonReader.buildSpecification(SNAPSHOT_JSON)); }