Fixtures.deleteDatabase();
Fixtures.loadModels("uniqueTestdata.yml");
}
@Test
public void testSingleColumn() {
Book firstBook = Book.find("byIsbn", "1").first();
firstBook.isbn = "2";
ValidationResult res = Validation.current().valid(firstBook);
assertFalse(res.ok);
assertNotNull(Validation.errors("firstBook.isbn"));
Error error = Validation.errors("firstBook.isbn").get(0);