@Test
public void testSetContext_historyShapeIsSetFromDimensionMap() {

    final Map<String, Integer> dimensionConfiguration = new HashMap<>();
    dimensionConfiguration.put(Constants.DIMENSION_NAME_INSITU_NTIME, 19);
    final Context context = new ContextBuilder().dimensionConfiguration(dimensionConfiguration).build();
    final InsituLongitude insituLatitude = new InsituLongitude();
    insituLatitude.setContext(context);
    assertNotNull(insituLatitude.historyShape);
    assertArrayEquals(new int[]{1, 19}, insituLatitude.historyShape);
}