### Question:
HeartbeatCustomDSInfo extends HeartbeatInfo { public String getKey() { return getServiceClass(); }  String getServiceClass(); void setServiceClass(String serviceClass); void contributeToHttpCall(HeartbeatCall call); String getKey();  }### Answer:
@Test void getKey_serviceClassIsNull_null() { assertNull(objectUnderTest.getKey()); }