Search in sources :

Example 1 with GetLicenseInfoRequest

use of com.zimbra.soap.admin.message.GetLicenseInfoRequest in project zm-mailbox by Zimbra.

the class TestJaxbProvisioning method testLicenseInfo.

@Test
public void testLicenseInfo() throws Exception {
    ZimbraLog.test.debug("Starting testLicenseInfo");
    GetLicenseInfoRequest req = new GetLicenseInfoRequest();
    GetLicenseInfoResponse resp = prov.invokeJaxb(req);
    assertNotNull("GetLicensInfoResponse", resp);
    LicenseExpirationInfo expires = resp.getExpiration();
    assertNotNull("Expiration Info", expires);
    assertNotNull("getDate result", expires.getDate());
}
Also used : LicenseExpirationInfo(com.zimbra.soap.admin.type.LicenseExpirationInfo) GetLicenseInfoRequest(com.zimbra.soap.admin.message.GetLicenseInfoRequest) GetLicenseInfoResponse(com.zimbra.soap.admin.message.GetLicenseInfoResponse) Test(org.junit.Test)

Aggregations

GetLicenseInfoRequest (com.zimbra.soap.admin.message.GetLicenseInfoRequest)1 GetLicenseInfoResponse (com.zimbra.soap.admin.message.GetLicenseInfoResponse)1 LicenseExpirationInfo (com.zimbra.soap.admin.type.LicenseExpirationInfo)1 Test (org.junit.Test)1