LineString featureGeometry = this.geometryFactory.createLineString( LimbGeneratorTest.Utils.createCoords( "0 40, 40 0" ) );
this.feature.setDefaultGeometry( featureGeometry );
Point intersectionPoint = this.geometryFactory.createPoint( new Coordinate( 20, 20 ) );
Limb limb = new Limb();
limb.setFeature( this.feature );
limb.setIntersection( intersectionPoint );
AngleCalculationLimbRefiner testObj = new AngleCalculationLimbRefiner();
testObj.refine( limb, null, null );
assertEquals( -45.0, limb.getAngle(), DOUBLE_TOLERANCE );
}