@Test
public void testGetSize() throws LoginTicketNotFoundException, ExternalAppNotMappedException
{

	ArrayList<String> toRemove = new ArrayList<>();
	long initialSize = manager.getSize();
	assertTrue(initialSize >= 0);
	for (int i = 0; i < 10; i++)
	{
		LoginTicket ticket = manager.generateNewTicket("test", "testUser");
		assertEquals(i + 1 + initialSize, manager.getSize());
		toRemove.add(ticket.getIdAsString());
	}
	for (String id : toRemove)
	{
		manager.removeTicket(id);
	}
	assertTrue(manager.getSize() == initialSize);
}