public Set<ModuleState> getAllModuleStates() {
        reBuildModuleState();
        return new HashSet<>(moduleStates.values());
    }
@Test
    void testGetAllModuleStates() {
        assertEquals(2, ModuleStateHolder.getInstance().getAllModuleStates().size());
    }