use of com.kickstarter.models.Urls in project android-oss by kickstarter.
the class RefTagUtilsTest method testBuildCookieForRefTagAndProject_WithMalformedUrl.
@Test
public void testBuildCookieForRefTagAndProject_WithMalformedUrl() {
final Web webUrls = ProjectFactory.project().urls().web().toBuilder().project("such:\\bad^<data").build();
final Urls urls = ProjectFactory.project().urls().toBuilder().web(webUrls).build();
final Project project = ProjectFactory.project().toBuilder().urls(urls).build();
final RefTag refTag = RefTag.category();
final HttpCookie cookie = RefTagUtils.buildCookieWithRefTagAndProject(refTag, project);
assertNull(cookie);
}