Package com.example.skeddly.business
Class ParticipantListUnitTest
java.lang.Object
com.example.skeddly.business.ParticipantListUnitTest
Unit tests for the ParticipantList class.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ParticipantListUnitTest
public ParticipantListUnitTest()
-
-
Method Details
-
setUp
public void setUp() -
testDefaultConstructor_UnlimitedCapacity
public void testDefaultConstructor_UnlimitedCapacity() -
testAddTicket_WithCapacity_ShouldAddTicket
public void testAddTicket_WithCapacity_ShouldAddTicket() -
testAddTicket_AtCapacity_ShouldThrowException
public void testAddTicket_AtCapacity_ShouldThrowException() -
testRemoveTicket_ExistingTicket_ShouldRemove
public void testRemoveTicket_ExistingTicket_ShouldRemove() -
testRemoveTicket_NonExistingTicket_ShouldDoNothing
public void testRemoveTicket_NonExistingTicket_ShouldDoNothing() -
testGetAndSetTicketIds
public void testGetAndSetTicketIds() -
testGetAndSetMaxAttend
public void testGetAndSetMaxAttend()
-