[BAEL-10985] - Removed vavr-validation submodule

This commit is contained in:
amit2103 2018-12-23 16:59:32 +05:30
parent be2e45b0a5
commit 5deb87325b
5 changed files with 5 additions and 5 deletions

View File

@ -8,10 +8,10 @@ import io.vavr.control.Validation;
public class Application {
public static void main(String[] args) {
UserValidator userValidator = new UserValidator();
Validation<Seq<String>, User> validation = userValidator.validateUser("John", "john@domain.com");
// process validation results here
}
}
}

View File

@ -7,7 +7,7 @@ import com.baeldung.vavrvalidation.validator.UserValidator;
import io.vavr.control.Validation.Invalid;
import io.vavr.control.Validation.Valid;
public class UserValidatorTest {
public class UserValidatorUnitTest {
@Test
public void givenValidUserParams_whenValidated_thenInstanceOfValid() {

View File

@ -11,7 +11,7 @@ import io.vavr.control.Either.Right;
import io.vavr.control.Validation.Invalid;
import io.vavr.control.Validation.Valid;
public class ValidationTest {
public class ValidationUnitTest {
private static UserValidator userValidator;