@@ -117,24 +117,24 @@ public void testWriteOptionWithDestination() {
117
117
LogDestinationName resource = (LogDestinationName ) writeOption .getValue ();
118
118
assertEquals (WriteOption .OptionType .LOG_DESTINATION , writeOption .getOptionType ());
119
119
assertEquals (LogDestinationName .DestinationType .PROJECT , resource .getDestinationType ());
120
- assertEquals (PROJECT_NAME , resource .getId ());
120
+ assertEquals (PROJECT_NAME , resource .getDestinationId ());
121
121
122
122
writeOption = WriteOption .destination (LogDestinationName .billingAccount (BILLING_NAME ));
123
123
resource = (LogDestinationName ) writeOption .getValue ();
124
124
assertEquals (WriteOption .OptionType .LOG_DESTINATION , writeOption .getOptionType ());
125
125
assertEquals (LogDestinationName .DestinationType .BILLINGACCOUNT , resource .getDestinationType ());
126
- assertEquals (BILLING_NAME , resource .getId ());
126
+ assertEquals (BILLING_NAME , resource .getDestinationId ());
127
127
128
128
writeOption = WriteOption .destination (LogDestinationName .folder (FOLDER_NAME ));
129
129
resource = (LogDestinationName ) writeOption .getValue ();
130
130
assertEquals (WriteOption .OptionType .LOG_DESTINATION , writeOption .getOptionType ());
131
131
assertEquals (LogDestinationName .DestinationType .FOLDER , resource .getDestinationType ());
132
- assertEquals (FOLDER_NAME , resource .getId ());
132
+ assertEquals (FOLDER_NAME , resource .getDestinationId ());
133
133
134
134
writeOption = WriteOption .destination (LogDestinationName .organization (ORGANIZATION_NAME ));
135
135
resource = (LogDestinationName ) writeOption .getValue ();
136
136
assertEquals (WriteOption .OptionType .LOG_DESTINATION , writeOption .getOptionType ());
137
137
assertEquals (LogDestinationName .DestinationType .ORGANIZATION , resource .getDestinationType ());
138
- assertEquals (ORGANIZATION_NAME , resource .getId ());
138
+ assertEquals (ORGANIZATION_NAME , resource .getDestinationId ());
139
139
}
140
140
}
0 commit comments