### Question:
ContrailSubnetHostRoute { public ContrailSubnetHostRoute() {} ContrailSubnetHostRoute(); String getPrefix(); void setPrefix(String prefix); String getNextHop(); void setNextHop(String nextHop); void populateWith(HostRoute hostRoute); @Override String toString();  }### Answer:
@Test public void testContrailSubnetHostRoute() { cshr.setPrefix("prefix"); cshr.setNextHop("nextHop"); assertEquals("prefix", cshr.getPrefix()); assertEquals("nextHop", cshr.getNextHop()); assert (cshr.toString() != null); cshr.populateWith(hr); }