// Path: app/src/main/java/de/codecentric/validate/impl/NameValidatorImpl.java
// public class NameValidatorImpl implements NameValidator {
// 
//     @Override
//     public boolean isValid(String speaker) {
// 
//         if (speaker.isEmpty()) {
//             return false;
//         }
// 
//         return TwitterLinkCreator.TWITTER_NAME_PATTERN.matcher(speaker).matches();
//     }
// 
// }


import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import de.codecentric.validate.impl.NameValidatorImpl;
package de.codecentric.validate;




/**
 * Created by adi on 8/21/14.
 */
public class NameValidatorTests {

    @Test
    public void nameValidWhenContainsNumbers() {
// Path: app/src/main/java/de/codecentric/validate/impl/NameValidatorImpl.java
// public class NameValidatorImpl implements NameValidator {
// 
//     @Override
//     public boolean isValid(String speaker) {
// 
//         if (speaker.isEmpty()) {
//             return false;
//         }
// 
//         return TwitterLinkCreator.TWITTER_NAME_PATTERN.matcher(speaker).matches();
//     }
// 
// }


// Path: app/src/test/java/de/codecentric/validate/NameValidatorTests.java
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import de.codecentric.validate.impl.NameValidatorImpl;

package de.codecentric.validate;




/**
 * Created by adi on 8/21/14.
 */
public class NameValidatorTests {

    @Test
    public void nameValidWhenContainsNumbers() {
        NameValidatorImpl nameValidator = new NameValidatorImpl();