@Test
public void testPutTenantResourceGroupRolesNull() {

    Authority principalAuthority = new com.yahoo.athenz.common.server.debug.DebugPrincipalAuthority();
    Principal principal1 = principalAuthority.authenticate("v=U1;d=user;n=user1;s=signature",
            "10.11.12.13", "GET", null);
    ResourceContext rsrcCtx1 = createResourceContext(principal1);
    TenantResourceGroupRoles tenantResource = new TenantResourceGroupRoles();
    try{
        zms.putTenantResourceGroupRoles(rsrcCtx1, null, null, null, null, null, tenantResource);
        fail();
    } catch (ResourceException ex) {
        assertEquals(ex.getCode(), 400);
    }
}