### Question:
Host extends AbstractPersistable { @Override public String toString() { return "Host - ID:" + id.toString() + ", cpus:" + ncpus + ", ram:" + ramMb + ", disk:" + diskGb; } Host(Long id, String hostname, int ncpus, double ramMb, double diskGb, boolean initiallyOff); HostUsage getUsage(List<Vm> vms); double getOverCapacityScore(List<Vm> vms); boolean missingFixedVMs(List<Vm> vms); String getHostname(); int getNcpus(); double getRamMb(); double getDiskGb(); void addFixedVm(long vmId); boolean wasOffInitiallly(); @Override String toString();  }### Answer:
@Test public void toStringTest() { assertEquals("Host - ID:1, cpus:4, ram:4096.0, disk:20.0", host.toString()); }