@Test
 /** tests encrypted getter and setter */
 public void testEncrypted() {
   dummySessionDocument.setEncrypted(true);
   assertEquals(
       "Testing Encrypted in SessionDocumentService", true, dummySessionDocument.isEncrypted());
 }
 @Test
 /** tests ipAddress getter and setter */
 public void testIpAddress() {
   dummySessionDocument.setIpAddress("dummyIpAddress");
   assertEquals(
       "Testing IpAddress in SessionDocumentService",
       "dummyIpAddress",
       dummySessionDocument.getIpAddress());
 }
 @Test
 /** tests principalId getter and setter */
 public void testPrincipalId() {
   dummySessionDocument.setPrincipalId("dummyPrincipalId");
   assertEquals(
       "Testing PrincipalId in SessionDocumentService",
       "dummyPrincipalId",
       dummySessionDocument.getPrincipalId());
 }
 @Test
 /** tests documentNumber getter and setter */
 public void testDocumentNumber() {
   dummySessionDocument.setDocumentNumber("dummyDocumentNumber");
   assertEquals(
       "Testing DocumentNumber in SessionDocumentService",
       "dummyDocumentNumber",
       dummySessionDocument.getDocumentNumber());
 }
 @Test
 /** tests sessionId getter and setter */
 public void testSessionId() {
   dummySessionDocument.setSessionId("dummySeesionID");
   assertEquals(
       "Testing SessionId in SessionDocumentService",
       "dummySeesionID",
       dummySessionDocument.getSessionId());
 }
  @Test
  /** tests serializedDocumentForm getter and setter */
  public void testSerializedDocumentForm() {

    byte[] dummyByte = "dummy".getBytes();
    dummySessionDocument.setSerializedDocumentForm(dummyByte);
    assertEquals(
        "Testing SerializedDocumentForm in SessionDocumentService",
        "dummy",
        new String(dummySessionDocument.getSerializedDocumentForm()));
  }
 @Test
 /** tests lastUpdatedDate getter and setter */
 public void testLastUpdatedDate() {
   Calendar calendar = Calendar.getInstance();
   Date now = calendar.getTime();
   Timestamp currentTimestamp = new Timestamp(now.getTime());
   dummySessionDocument.setLastUpdatedDate(currentTimestamp);
   assertEquals(
       "Testing LastUpdatedDate in SessionDocumentService",
       currentTimestamp,
       dummySessionDocument.getLastUpdatedDate());
 }