### Question:
BuildContextHolder { public boolean isIncrementalBuild() { return buildContext != null ? buildContext.isIncremental() || incrementalBuildEnabled : incrementalBuildEnabled; } BuildContextHolder();  BuildContextHolder(final BuildContext buildContext, final File buildDirectory); String getValue(final String key); void setValue(final String key, final String value); void setIncrementalBuildEnabled(final boolean incrementalBuildEnabled); boolean isIncrementalBuild(); void destroy(); void persist();  }### Answer:
@Test public void shouldUseBuildContextIncrementalFlag() { initVictimWithBuildContext(); when(buildContext.isIncremental()).thenReturn(false); assertFalse(victim.isIncrementalBuild()); }
@Test public void shouldDisableIncrementalBuildByDefault() { assertFalse(victim.isIncrementalBuild()); }