'Tests the get_split_user_partitions helper method.'

def test_split_user_partitions(self):

    first_random_partition = UserPartition(0, 'first_partition', 'First    Partition', [Group('0', 'alpha'), Group('1', 'beta')], self.random_scheme)
    second_random_partition = UserPartition(0, 'second_partition', 'Second    Partition', [Group('4', 'zeta'), Group('5', 'omega')], self.random_scheme)
    all_partitions = [first_random_partition, UserPartition(1, 'non_random_partition', 'Will    Not    Be    Returned', [Group('1', 'apple'), Group('2', 'banana')], self.non_random_scheme), second_random_partition]
    self.assertEqual([first_random_partition, second_random_partition], get_split_user_partitions(all_partitions))
