@Test
public void qualitySetters()
{
VariantQuality q = new VariantQuality();
q.setMediaTypeQualityValue(QualityValue.valueOf("0.1"));
assertEquals(new BigDecimal("0.10000"), q.getOverallQuality());
q.setCharacterSetQualityValue(QualityValue.valueOf("0.2"));
assertEquals(new BigDecimal("0.02000"), q.getOverallQuality());
q.setEncodingQualityValue(QualityValue.valueOf("0.4"));
assertEquals(new BigDecimal("0.00800"), q.getOverallQuality());
q.setLanguageQualityValue(QualityValue.valueOf("0.8"));
assertEquals(new BigDecimal("0.00640"), q.getOverallQuality());
}