mirror of
https://github.com/google/nomulus
synced 2026-09-18 22:14:23 +00:00
Create a separate billing event when EAP is applied
When EAP is involed we current have one billing event for domain create that has the create fee and EAP fee lumped together. Change it to record two separate billing events for each. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=132335349
This commit is contained in:
@@ -608,6 +608,13 @@ public class DatastoreHelper {
|
||||
FluentIterable.from(asList(expected)).transform(BILLING_EVENT_ID_STRIPPER));
|
||||
}
|
||||
|
||||
/** Assert that the expected billing events set is exactly the one found in the fake datastore. */
|
||||
public static void assertBillingEvents(ImmutableSet<BillingEvent> expected) throws Exception {
|
||||
assertThat(FluentIterable.from(getBillingEvents()).transform(BILLING_EVENT_ID_STRIPPER))
|
||||
.containsExactlyElementsIn(
|
||||
FluentIterable.from(expected.asList()).transform(BILLING_EVENT_ID_STRIPPER));
|
||||
}
|
||||
|
||||
/**
|
||||
* Assert that the expected billing events are exactly the ones found for the given EppResource.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user