@Test public void testIncreaceUnRead() { contact.increaceUnRead(); assertEquals(1, contact.getUnread()); contact.increaceUnRead(); assertEquals(2, contact.getUnread()); }
public void increaceUnRead() { this.unread += 1; }
AbstractContact implements IContact { public void increaceUnRead() { this.unread += 1; } }
AbstractContact implements IContact { public void increaceUnRead() { this.unread += 1; }  }
AbstractContact implements IContact { public void increaceUnRead() { this.unread += 1; }  boolean isUnknown(); void setUnknown(boolean unknown); boolean isNewbie(); void setNewbie(boolean newbie); IMessage getLastMessage(); void setLastMessage(IMessage lastMessage); int getUnread(); void setUnread(int unread); void clearUnRead(); void increaceUnRead(); int compareTo(AbstractContact that); }
AbstractContact implements IContact { public void increaceUnRead() { this.unread += 1; }  boolean isUnknown(); void setUnknown(boolean unknown); boolean isNewbie(); void setNewbie(boolean newbie); IMessage getLastMessage(); void setLastMessage(IMessage lastMessage); int getUnread(); void setUnread(int unread); void clearUnRead(); void increaceUnRead(); int compareTo(AbstractContact that);  }