### Question:
DeviceSpec { public static Builder newBuilder() { return new Builder(); } private  DeviceSpec(
      String job,
      Integer replica,
      Integer task,
      Integer deviceIndex,
      DeviceSpec.DeviceType deviceType); String job(); Integer replica(); Integer task(); Integer deviceIndex(); DeviceSpec.DeviceType deviceType(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); static Builder newBuilder();  }### Answer:
@Test public void emptySpecEquals() { DeviceSpec emptySpec = DeviceSpec.newBuilder().build(); assertThat(emptySpec).isEqualTo(DeviceSpec.newBuilder().build()); }