public void setUp() throws Exception
{
super.setUp();
AttributeTypeImpl textAttributeType = new AttributeTypeImpl( new NameImpl( "textType" ), String.class, false, false, null, null, null );
AttributeTypeImpl numericAttributeType = new AttributeTypeImpl( new NameImpl( "numericType" ), Number.class, false, false, null, null, null );
AttributeDescriptor attribute1 = new AttributeDescriptorImpl( textAttributeType, new NameImpl( TEXT_ATTRIBUTE_ID ), 0, 0, true, null );
AttributeDescriptor attribute2 = new AttributeDescriptorImpl( numericAttributeType, new NameImpl( NUMERIC_ATTRIBUTE_ID ), 0, 100, true, null );
SimpleFeatureType featureType = new SimpleFeatureTypeImpl( new NameImpl( "test" ),
Arrays.asList( attribute1, attribute2 ),
null, false, null, null, null );
this.feature = new SimpleFeatureImpl( Arrays.asList( null, null ), featureType, new FeatureIdImpl( FEATURE_ID ) );
}