func TestCheckListTagsForResourceMessage(t *testing.T) { ts, tc := getTestClient(200, srListTagsForResourceResponse) defer ts.Close() dbID := "rds-try-test" var ti rds.DBInstance ti.DBInstanceIdentifier = &dbID ri, err := tc.checkListTagsForResource(&ti) if err != nil { t.Errorf("[checkListTagsFor] result error: %s", err.Error()) } if !ri { t.Error("tags count not match") } }