NetworkInterfaceInfo { public String getDisplayName() { return networkInterface.getDisplayName(); } NetworkInterfaceInfo(final NetworkInterface networkInterface); String getDisplayName(); String getName(); NetworkInterface getNetworkInterface();  }
@Test public void getDisplayNameShouldReturnDisplayNameFromNetworkInterface() { when(networkInterface.getDisplayName()).thenReturn("Intel Pro Wireless"); assertEquals("Intel Pro Wireless", networkInterfaceInfo.getDisplayName()); }