@Test
public void testEnrollReqToJsonAttrNullName() throws Exception {

    thrown.expect(InvalidArgumentException.class);
    thrown.expectMessage("name may not be null or empty.");
    EnrollmentRequest testEnrollReq = new EnrollmentRequest();
    testEnrollReq.addAttrReq(null);
}