@Override
    public int size() {
        return unmodifiableList.size();
    }
@Test
    public void testPrimaryConstructor() {
        HDPath path = new HDPath(true, Collections.emptyList());
        assertTrue("Has private key returns false incorrectly", path.hasPrivateKey);
        assertEquals("Path not empty", path.size(), 0);
    }