@Test
public void shouldRightValidateCompulsoryField() throws Exception {

    String rules = "обязательное";
    assertTrue(new Parser(rules, "qwerty").validate());
    assertFalse(new Parser(rules, "").validate());
}