public ClassTemplateSpec generate(DataSchema schema, DataSchemaLocation location)
  {
    pushCurrentLocation(location);
    final ClassTemplateSpec result = processSchema(schema, null, null);
    popCurrentLocation();
    return result;
  }
@Test
  public void testPrimitiveDataSchema()
  {
    final IntegerDataSchema intSchema = new IntegerDataSchema();
    final TemplateSpecGenerator generator = new TemplateSpecGenerator(_resolver);
    final PrimitiveTemplateSpec spec = (PrimitiveTemplateSpec) generator.generate(intSchema, _location);
    Assert.assertEquals(spec.getBindingName(), Integer.class.getName());
  }