5 package org
.spirit
.test
.unit
.text
;
7 import junit
.framework
.TestCase
;
9 import org
.spirit
.spring
.validate
.BotListEntityLinksValidator
;
14 public class TestValidator
extends TestCase
{
16 private static final String GENERATORS
[] = {
18 "http://www.google.com",
22 protected void setUp() {
24 protected void tearDown() {
27 public void testValidateURL() {
28 for (int i
= 0; i
< GENERATORS
.length
; i
++) {
29 System
.out
.println("---->" + BotListEntityLinksValidator
.isValidUrl(GENERATORS
[i
]));