### Question:
JpsModelUtil { public static boolean isBuildWithCloverEnabled(@NotNull final JpsProject jpsProject) { final CloverPluginConfig data = getCloverPluginConfig(jpsProject); return data != null && data.isBuildWithClover(); }  static boolean isBuildWithCloverEnabled(@NotNull final JpsProject jpsProject); static boolean isCloverEnabled(@NotNull final JpsProject jpsProject); static boolean isDumpInstrumentedSources(@NotNull final JpsProject jpsProject); @Nullable static CloverPluginConfig getCloverPluginConfig(@NotNull final JpsProject jpsProject); @Nullable static JpsModuleSourceRoot findSourceRootForFile(final @NotNull JpsModule module,
                                                            final @NotNull File sourceFile); @Nullable static JpsModule findModuleForFile(final JpsProject project, final File sourceFile); static Set<File> getExcludedRoots(final JpsModule jpsModule);  }### Answer:
@Test public void testIsBuildWithCloverEnabled() { JpsProject jpsProject = createProjectWithCloverConfig(false, false); assertEquals(false, JpsModelUtil.isBuildWithCloverEnabled(jpsProject)); jpsProject = createProjectWithCloverConfig(false, true); assertEquals(true, JpsModelUtil.isBuildWithCloverEnabled(jpsProject)); jpsProject = createProjectWithoutCloverConfig(); assertEquals(false, JpsModelUtil.isBuildWithCloverEnabled(jpsProject)); }