@Test
public void testGetDomainListInvalidIfModifiedSince() {

    try {
        zms.getDomainList(mockDomRsrcCtx, null, null, null, null, null,
                null, null, null, "abc");
        fail();
    } catch (ResourceException ex) {
        assertEquals(ex.getCode(), 400);
    }
    
    try {
        zms.getDomainList(mockDomRsrcCtx, null, null, null, null, null,
                null, null, null, "May 20, 1099");
        fail();
    } catch (ResourceException ex) {
        assertEquals(ex.getCode(), 400);
    }
    
    try {
        zms.getDomainList(mockDomRsrcCtx, null, null, null, null, null,
                null, null, null, "03:03:20 PM");
        fail();
    } catch (ResourceException ex) {
        assertEquals(ex.getCode(), 400);
    }
}