void (String moduleName, String... expectedDeps) { assertOrderedElementsAreEqual(collectModuleDepsNames( moduleName, entry -> entry instanceof ModuleOrderEntry && ((ModuleOrderEntry)entry).isProductionOnTestDependency() ), expectedDeps); }