NetworkInterfaceInfo { public NetworkInterface getNetworkInterface() { return networkInterface; } NetworkInterfaceInfo(final NetworkInterface networkInterface); String getDisplayName(); String getName(); NetworkInterface getNetworkInterface();  }
@Test public void getNetworkInterfaceShouldReturnNetworkInterfaceFromConstructor() { assertSame(networkInterface, networkInterfaceInfo.getNetworkInterface()); }