List<BuildQueue> buildQueues = buildQueueDao.getAllBuildQueues();
assertEquals( "check item count", 3, schedules.size() );
assertEquals( "check build queues count", 3, buildQueues.size() );
BuildQueue buildQueue1 = buildQueues.get( 0 );
BuildQueue buildQueue2 = buildQueues.get( 1 );
BuildQueue buildQueue3 = buildQueues.get( 2 );
// check equality and order
Schedule schedule = schedules.get( 0 );
assertScheduleEquals( testSchedule1, schedule );
assertEquals( "check size of buildQueues", 2, schedule.getBuildQueues().size() );