package test.de.meinkonzern.gtdclient.model;


public class ActionTest  {

//	private static Validator validator;

//	@BeforeClass
//	protected void setUp() throws Exception {
//		super.setUp();
//		ValidatorFactory factory = Validation.buildDefaultValidatorFactory();
//		validator = factory.getValidator();
//	}
//
//	//@ Test
//	public void testDescription() {
//
//		Action action = new GTDModel().createNewTopActionOfInputStack();
//		action.setDescription("test");
//
//		Set<ConstraintViolation<Action>> constraintViolations = validator
//				.validate(action);
//
//		if (constraintViolations.size() > 0) {
//			assertEquals(1, constraintViolations.size());
//			assertEquals("Description must be valid", constraintViolations
//					.iterator().next().getMessage());
//		}
//
//	}

}
