### Question:
RunId implements Serializable { public int toInt() { return id; } RunId(int id); int toInt(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static final int FIRST_ID; }### Answer:
@Test public void numerical_value_can_be_queried() { assertThat(new RunId(1).toInt(), is(1)); assertThat(new RunId(2).toInt(), is(2)); }