public void testGetUser() {

    UserData expected = new GoogleTalkUserData("Rakan", "Rick", "1234", UserStateType.AWAY, false);
    assertSame(expected.getUserID(), cd1.getUser().getUserID());
    assertSame(expected.getNickname(), cd1.getUser().getNickname());
    assertSame(expected.getStatus(), cd1.getUser().getStatus());
  }
 @Test
 public void testSetUser() {
   UserData expected =
       new GoogleTalkUserData("Meryam", "Faris", "idle", UserStateType.OFFLINE, true);
   cd2.setUser(expected);
   assertSame(expected.getUserID(), cd2.getUser().getUserID());
   assertSame(expected.getNickname(), cd2.getUser().getNickname());
   assertSame(expected.getStatus(), cd2.getUser().getStatus());
 }
 // @Test
 public void testSetAccountData() throws ClassNotFoundException, SQLException {
   AccountData expected = new GoogleTalkAccountData("Joseph", "staid");
   cd2.setAccountData(expected);
   assertSame(expected.getUserID(), cd2.getUser());
   assertSame(expected.getNickname(), cd2.getAccount().getNickname());
   assertSame(expected.getServer(), cd2.getAccount().getServer());
   assertSame(expected.getPassword(), cd2.getAccount().getPassword());
 }
 @Test
 public void testConversationData() throws ClassNotFoundException, SQLException {
   cd3 =
       new ConversationData(
           new JabberAccountData(
               "David",
               "Snake",
               "Playing",
               "mgs",
               UserStateType.BUSY,
               new JabberManager(new MainController(new Model()), new Model())),
           new GoogleTalkUserData("Rakan", "Rick", "1234", UserStateType.ONLINE, true));
   assertEquals("David", cd3.getAccount().getUserID());
   assertEquals("Snake", cd3.getAccount().getNickname());
   assertSame("mgs", cd3.getAccount().getPassword());
   assertSame("Rakan", cd3.getUser().getUserID());
   assertSame("Rick", cd3.getUser().getNickname());
   assertSame("Playing", cd3.getAccount().getStatus());
   assertTrue(cd3.getText().isEmpty());
   assertTrue(cd3.getMessageCount() == 0);
 }