Package services.publix.workers
Class GeneralSingleCookieServiceTest
- java.lang.Object
-
- services.publix.workers.GeneralSingleCookieServiceTest
-
public class GeneralSingleCookieServiceTest extends java.lang.ObjectUnit tests for GeneralSingleCookieService.
-
-
Constructor Summary
Constructors Constructor Description GeneralSingleCookieServiceTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStudy_appendsWhenExistingCookie()voidaddStudy_createsNewWhenNoExistingCookie()voidfetchWorkerIdByStudy_ignoresMalformedEntries()voidfetchWorkerIdByStudy_returnsLatestWorkerIdWhenMultipleForSameStudy()voidfetchWorkerIdByStudy_returnsNullWhenNoCookie()voidfetchWorkerIdByStudy_returnsWorkerIdWhenSingleMatch()static voidinitStatics()voidset_String_buildsCookieWithExpectedAttributes()voidsetup()static voidtearDownStatics()
-
-
-
Method Detail
-
initStatics
public static void initStatics()
-
tearDownStatics
public static void tearDownStatics()
-
setup
public void setup()
-
fetchWorkerIdByStudy_returnsNullWhenNoCookie
public void fetchWorkerIdByStudy_returnsNullWhenNoCookie()
-
fetchWorkerIdByStudy_returnsWorkerIdWhenSingleMatch
public void fetchWorkerIdByStudy_returnsWorkerIdWhenSingleMatch()
-
fetchWorkerIdByStudy_returnsLatestWorkerIdWhenMultipleForSameStudy
public void fetchWorkerIdByStudy_returnsLatestWorkerIdWhenMultipleForSameStudy()
-
fetchWorkerIdByStudy_ignoresMalformedEntries
public void fetchWorkerIdByStudy_ignoresMalformedEntries()
-
addStudy_createsNewWhenNoExistingCookie
public void addStudy_createsNewWhenNoExistingCookie()
-
addStudy_appendsWhenExistingCookie
public void addStudy_appendsWhenExistingCookie()
-
set_String_buildsCookieWithExpectedAttributes
public void set_String_buildsCookieWithExpectedAttributes()
-
-