Buggy code:
public class SecureServerTest extends BaseJDBCTestCase { private static final String BASIC = "functionTests//tests//derbynet//SecureServerTest.derby.properties" ; private static final String SST_USER_NAME = "MARY" ; private static final String SST_PASSWORD = "marypwd" ; private static final String HOSTW = "0.0.0.0" ; private static final String ALTW = "0.00.000.0" ; private static final String IPV6W = "::" ; public static final class Outcome { private boolean _serverShouldComeUp ; private String _expectedServerOutput ; public Outcome ( boolean serverShouldComeUp , String expectedServerOutput ) { } public boolean serverShouldComeUp ( ) { } public String expectedServerOutput ( ) { } } private static final SecureServerTest . Outcome RUNNING_SECURITY_NOT_BOOTED = new SecureServerTest . Outcome ( true , "" ) ; private static final SecureServerTest . Outcome RUNNING_SECURITY_BOOTED = new SecureServerTest . Outcome ( true , SecureServerTest . serverBootedOK ( ) ) ; private NetworkServerTestSetup nsTestSetup ; private boolean _unsecureSet ; private boolean _authenticationRequired ; private String _customDerbyProperties ; private String _wildCardHost ; private SecureServerTest . Outcome _outcome ; public SecureServerTest ( boolean unsecureSet , boolean authenticationRequired , String customDerbyProperties , String wildCardHost , SecureServerTest . Outcome outcome ) { } public static Test suite ( ) { } private static Test decorateTest ( boolean unsecureSet , boolean authenticationRequired , String customDerbyProperties , String wildCardHost , SecureServerTest . Outcome outcome ) { } private static String [ ] getStartupArgs ( boolean setUnsecureOption , String wildCardHost ) { } private static String [ ] getStartupProperties ( boolean authenticationRequired , String customDerbyProperties ) { } public void testServerStartup ( ) throws Exception { String myName = toString ( ) ; String serverOutput = getServerOutput ( ) ; boolean serverCameUp = serverCameUp ( ) ; boolean outputOK = ( serverOutput . indexOf ( _outcome . expectedServerOutput ( ) ) ) >= 0 ; assertEquals ( ( ( myName + ":<seq2seq4repair_space>serverCameUp<seq2seq4repair_space>=<seq2seq4repair_space>" ) + serverCameUp ) , _outcome . serverShouldComeUp ( ) , serverCameUp ) ; <START_BUG> if ( ! ( runsWithEmma ( ) ) ) { <END_BUG> assertTrue ( ( ( ( ( myName + "\nExpected:<seq2seq4repair_space>" ) + ( _outcome . expectedServerOutput ( ) ) ) + "\nBut<seq2seq4repair_space>saw:<seq2seq4repair_space>" ) + serverOutput ) , outputOK ) ; } if ( ( _authenticationRequired ) && ( ( _wildCardHost ) != null ) ) { connectToServer ( ) ; } runsysinfo ( ) ; enableTracing ( ) ; setTraceDirectory ( ) ; disableTracing ( ) ; } private void disableTracing ( ) throws Exception { } private void setTraceDirectory ( ) throws Exception { } private void connectToServer ( ) throws Exception { } private void runsysinfo ( ) throws Exception { } private void enableTracing ( ) throws Exception { } public String toString ( ) { } private String runServerCommand ( String [ ] commandSpecifics ) throws Exception { } private String getServerOutput ( ) throws Exception { } private static String serverBootedOK ( ) { } private boolean serverCameUp ( ) throws Exception { } }

Fix:
if ( ! ( ( runsWithEmma ( ) ) || ( runsWithJaCoCo ( ) ) ) ) {