Erector { public BlueprintTemplate getTemplate() { return blueprintTemplate; } Erector(); Object createNewInstance(); void addCommands(ModelField modelField, Set<Command> commands); void addCommand( ModelField modelField, Command command ); Set<Command> getCommands( ModelField modelField ); void clearCommands(); Object getBlueprint(); void setBlueprint(Object blueprint); Collection<ModelField> getModelFields(); ModelField getModelField(String name); void setModelFields(Collection<ModelField> modelFields); void addModelField(ModelField modelField); BlueprintTemplate getTemplate(); void setTemplate(BlueprintTemplate blueprintTemplate); Class getTarget(); void setTarget(Class target); Object getReference(); void setReference(Object reference); Constructable getNewInstance(); void setNewInstance(Constructable newInstance); void setCallbacks(String type, List<Callback> callbacks); List<Callback> getCallbacks(String type); String toString();  }
@Test public void testGet() throws BlueprintTemplateException { Car car = new Car(); car.setMileage(new Float(123.456)); Float val = (Float) erector.getTemplate().get(car, "mileage"); assertEquals(new Float(123.456), val); }