public Port port() {
        return port;
    }
@Override
    @Test
    public void withTime() {
        Device device = createDevice();
        Port port = new DefaultPort(device, PortNumber.portNumber(123), true);
        DeviceEvent event = new DeviceEvent(DeviceEvent.Type.DEVICE_ADDED,
                device, port, 123L);
        validateEvent(event, DeviceEvent.Type.DEVICE_ADDED, device, 123L);
        assertEquals("incorrect port", port, event.port());
    }