### Question:
OSMMember { public OSHEntity getEntity() { return entity; } OSMMember(final long id, final OSMType type, final int roleId);  OSMMember(final long id, final OSMType type, final int roleId,
      OSHEntity entity); long getId(); OSMType getType(); int getRawRoleId(); OSHDBRole getRoleId(); OSHEntity getEntity(); @Override String toString();  }### Answer:
@Test public void testGetData() { OSMMember instance = new OSMMember(1L, OSMType.WAY, 1, null); Object expResult = null; Object result = instance.getEntity(); assertEquals(expResult, result); }
@Test public void testGetDataII() { OSMMember instance = new OSMMember(1L, OSMType.WAY, 1); Object expResult = null; Object result = instance.getEntity(); assertEquals(expResult, result); }