JavaTest
Java
code posted
created at 17 Jan 16:49
Edit
|
Back
1 2 3 4 5 6 7 8 |
public void carIsValid() { Car car = new Car( "Morris", "DD-AB-123", 2 ); Set<ConstraintViolation<Car>> constraintViolations = validator.validate( car ); assertEquals( 0, constraintViolations.size() ); } |
218 Bytes in 8 ms with coderay