VuFind API Documentation

FavoritesServiceTest extends TestCase
in package

FavoritesService Test Class

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Table of Contents

testLoginRequiredToCreateList()  : void
Test that an exception is thrown if a non-logged-in user tries to create a new list.
testNewListIsPopulatedCorrectly()  : void
Test that a new list is populated appropriately.
getFavoritesService()  : FavoritesService
Get a FavoritesService object.
getMockUser()  : MockObject|UserEntityInterface
Create a mock user object.

Methods

testLoginRequiredToCreateList()

Test that an exception is thrown if a non-logged-in user tries to create a new list.

public testLoginRequiredToCreateList() : void
Return values
void

testNewListIsPopulatedCorrectly()

Test that a new list is populated appropriately.

public testNewListIsPopulatedCorrectly() : void
Return values
void

Search results