public long getEndInMs() {
        return this.endInMs;
    }
@Test
    void testEndInMs() {
        long startTime = System.currentTimeMillis();
        Pane<?> pane = new Pane<>(10, startTime, new Object());
        assertEquals(startTime + 10, pane.getEndInMs());
    }