public abstract int getTabId();
@Test
    public void checkIdDuplication() {
        final Set<Integer> usedIds = new HashSet<>();

        for (final Tab.Type type : Tab.Type.values()) {
            final boolean added = usedIds.add(type.getTabId());
            assertTrue("Id was already used: " + type.getTabId(), added);
        }
    }