### Question:
RowId implements Serializable { public Object[] getId() { return id; } protected  RowId();  RowId(Object... id); Object[] getId(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }### Answer:
@Test public void constructor_withArrayOfPrimaryKeyColumns_shouldSucceed() { RowId id = new RowId(new Object[] { "id", "name" }); Assert.assertArrayEquals(new Object[] { "id", "name" }, id.getId()); }
@Test public void constructor_withArrayOfPrimaryKeyColumns_shouldSucceed() { RowId id = new RowId(new Object[] { "id", "name" }); assertArrayEquals(new Object[] { "id", "name" }, id.getId()); }