def METHOD_NAME(self, user1, dataset_images):
    """Test listing of Images in a Dataset."""
    conn = get_connection(user1)
    group_id = conn.getEventContext().groupId
    user_name = conn.getUser().getName()
    django_client = self.new_django_client(user_name, user_name)
    version = api_settings.API_VERSIONS[-1]
    dataset = dataset_images[0]
    images = dataset.linkedImageList()
    orphaned = dataset_images[1]
    images_url = reverse('api_images', kwargs={'api_version': version})
    datasets_url = reverse('api_datasets', kwargs={'api_version': version})
    # List ALL Images
    rsp = get_json(django_client, images_url, {'group': group_id})
    assert len(rsp['data']) == 6
    assert rsp['meta'] == {'totalCount': 6,
                           'limit': api_settings.API_LIMIT,
                           'maxLimit': api_settings.API_MAX_LIMIT,
                           'offset': 0}
    # Filter Images by Orphaned
    payload = {'orphaned': 'true', 'group': group_id}
    rsp = get_json(django_client, images_url, payload)
    assert_objects(conn, rsp['data'], [orphaned], dtype='Image',
                   group=group_id, opts={'load_pixels': True})
    assert rsp['meta'] == {'totalCount': 1,
                           'limit': api_settings.API_LIMIT,
                           'maxLimit': api_settings.API_MAX_LIMIT,
                           'offset': 0}
    # Filter Images by Dataset
    images.sort(key=lambda x: lower_or_none(unwrap(x.name)))
    payload = {'dataset': dataset.id.val}
    rsp = get_json(django_client, images_url, payload)
    # Manual check that Pixels & Type are loaded but Channels are not
    assert 'Type' in rsp['data'][0]['Pixels']
    assert 'Channels' not in rsp['data'][0]['Pixels']
    assert_objects(conn, rsp['data'], images, dtype='Image',
                   opts={'load_pixels': True})
    assert rsp['meta'] == {'totalCount': 5,
                           'limit': api_settings.API_LIMIT,
                           'maxLimit': api_settings.API_MAX_LIMIT,
                           'offset': 0}
    # Pagination, listing images via /datasets/:id/images/
    limit = 3
    dataset_images_url = datasets_url + "%s/images/" % dataset.id.val
    payload = {'dataset': dataset.id.val, 'limit': limit}
    rsp = get_json(django_client, dataset_images_url, payload)
    assert_objects(conn, rsp['data'], images[0:limit], dtype='Image',
                   opts={'load_pixels': True})
    assert rsp['meta'] == {'totalCount': 5,
                           'limit': limit,
                           'maxLimit': api_settings.API_MAX_LIMIT,
                           'offset': 0}
    payload['offset'] = limit   # page 2
    rsp = get_json(django_client, images_url, payload)
    assert_objects(conn, rsp['data'], images[limit:limit * 2],
                   dtype='Image', opts={'load_pixels': True})
    assert rsp['meta'] == {'totalCount': 5,
                           'limit': limit,
                           'maxLimit': api_settings.API_MAX_LIMIT,
                           'offset': limit}
    # Show ONLY the orphaned image (channels are loaded by default)
    img_url = images_url + '%s/' % orphaned.id.val
    rsp = get_json(django_client, img_url)
    # Manual check that Channels are loaded
    img_json = rsp['data']
    assert len(img_json['Pixels']['Channels']) == 1
    assert_objects(conn, [img_json], [orphaned], dtype='Image',
                   opts={'load_channels': True})