@Test public void testFriend() { Friend friend = new Friend(1L, 1L, 1L); Assert.assertEquals((Long)1L, friend.getId()); Friend friend2 = new Friend(1L, 1L, 1); Assert.assertEquals((Integer)1, friend2.getStatus()); }
public Friend() { }
Friend { public Friend() { } }
Friend { public Friend() { } Friend();  Friend(Long userId1, Long userId2, Integer status);  Friend(Long userId1, Long userId2);  Friend(Long id, Long userId1, Long userId2); }
Friend { public Friend() { } Friend();  Friend(Long userId1, Long userId2, Integer status);  Friend(Long userId1, Long userId2);  Friend(Long id, Long userId1, Long userId2); Long getUserId1(); void setStatus(Integer status); void setId(Long id); Long getId(); Integer getStatus(); void setUserId1(Long userId1); Long getUserId2(); void setUserId2(Long userId2); }
Friend { public Friend() { } Friend();  Friend(Long userId1, Long userId2, Integer status);  Friend(Long userId1, Long userId2);  Friend(Long id, Long userId1, Long userId2); Long getUserId1(); void setStatus(Integer status); void setId(Long id); Long getId(); Integer getStatus(); void setUserId1(Long userId1); Long getUserId2(); void setUserId2(Long userId2);  }