@Test
public void testFactory() {
final RGBExpressionViewer.Factory factory = new RGBExpressionViewer.Factory();
final LiteralBuilder lb = new LiteralBuilder();
lb.value(new Color(150, 150, 150));
assertEquals("Score is not expected.", Appropriate.APPROPRIATE.getScore(),
factory.score(null, lb.build()));
assertEquals("Score is not expected.", Appropriate.NOT_APPROPRIATE.getScore(),
factory.score(null, null));
try {