package Microsoft::AdCenter::V7::CampaignManagementService::Test::GetTargetByAdGroupIdResponse;
# Copyright (C) 2011 Xerxes Tsang
# This program is free software; you can redistribute it and/or modify it
# under the terms of Perl Artistic License.

use strict;
use warnings;

use base qw/Test::Class/;
use Test::More;

use Microsoft::AdCenter::V7::CampaignManagementService;
use Microsoft::AdCenter::V7::CampaignManagementService::GetTargetByAdGroupIdResponse;

sub test_can_create_get_target_by_ad_group_id_response_and_set_all_fields : Test(2) {
    my $get_target_by_ad_group_id_response = Microsoft::AdCenter::V7::CampaignManagementService::GetTargetByAdGroupIdResponse->new
        ->Target('target')
    ;

    ok($get_target_by_ad_group_id_response);

    is($get_target_by_ad_group_id_response->Target, 'target', 'can get target');
};

1;
