void () { var result = WslDistributionManagerImpl.parseWslVerboseListOutput(List.of( " NAME STATE VERSION", "* Ubuntu-20.04 Stopped 2", " docker-desktop Stopped 2", " docker-desktop-data Stopped 2", " Ubuntu-18.04 Stopped 1")); assertEquals(List.of(new WslDistributionAndVersion("Ubuntu-20.04", 2), new WslDistributionAndVersion("Ubuntu-18.04", 1)), result); }