[TEST] test initial call to onDisabled

Original commit: elastic/x-pack-elasticsearch@24d20ff3a0
This commit is contained in:
Areek Zillur 2015-01-26 19:02:42 -05:00
parent 0fb0f24e36
commit 8705d4d603

View File

@ -51,6 +51,7 @@ public class LicensesClientServiceTests extends AbstractLicensesServiceTests {
actions.add(registerWithoutTrialLicense(clientService, clientListener, feature));
actions.add(generateAndPutSignedLicenseAction(masterLicensesManagerService(), feature, issueDate, TimeValue.timeValueHours(24 * 20)));
actions.add(assertExpiryAction(feature, "signed", TimeValue.timeValueSeconds(4)));
assertClientListenerNotificationCount(clientListener, actions);
assertThat(clientListener.enabled.get(), equalTo(false));
}