scorecardType.set(scorecard, "residenceState", "AP");
scorecardType.set(scorecard, "occupation", "TEACHER");
scorecardType.set(scorecard, "age", 20);
scorecardType.set(scorecard, "validLicense", true);
session.insert( scorecard );
session.fireAllRules();
session.dispose();
//occupation = +10, age = +40, state = -10, validLicense = 1
assertEquals(41.0,scorecard.getCalculatedScore());
}