### Question:
TerritoryFence implements Fence { @Override public String getName() { return name; } TerritoryFence(String name, String country, String administrativeArea, String postalCode); @Override String getName(); String getCountry(); String getAdministrativeArea(); String getPostalCode(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void getFenceName() { assertEquals(new TerritoryFence("mr fence", null,null,null).getName(),"mr fence"); }