import org.sonar.api.platform.ServerUpgradeStatus;
import org.sonar.db.charset.DatabaseCharsetChecker;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
<BUG>import static org.sonar.db.charset.DatabaseCharsetChecker.Flag.ENFORCE_UTF8;</BUG>
public class CheckDatabaseCharsetAtStartupTest {
<BUG>ServerUpgradeStatus upgradeStatus = mock(ServerUpgradeStatus.class);

DatabaseCharsetChecker charsetChecker = mock(DatabaseCharsetChecker.class);

CheckDatabaseCharsetAtStartup underTest = new CheckDatabaseCharsetAtStartup(upgradeStatus, charsetChecker);
</BUG>
@After

import org.sonar.api.platform.ServerUpgradeStatus;
import org.sonar.db.charset.DatabaseCharsetChecker;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
public class CheckDatabaseCharsetAtStartupTest {
private ServerUpgradeStatus upgradeStatus = mock(ServerUpgradeStatus.class);
private DatabaseCharsetChecker charsetChecker = mock(DatabaseCharsetChecker.class);
private CheckDatabaseCharsetAtStartup underTest = new CheckDatabaseCharsetAtStartup(upgradeStatus, charsetChecker);
@After
