@Test
public void testGetOverdueReviewThrowException() {

    final String domainName = "test-domain1";
    // Tests the getOverdueReview() condition : if (domain == null)...
    try {
        // Should fail because we never created this domain.
        zms.getOverdueReview(mockDomRsrcCtx, domainName);
        fail("notfounderror not thrown.");
    } catch (ResourceException e) {
        assertEquals(e.getCode(), 404);
    }
}