Buggy code:
public class TestCli { private final String REQUEST_ID = "234GD0-43254435-4543T4" ; private static final String ACCESS_TOKEN_ID = "accesstoken" ; private static final String INSTANCE_ID = "instanceid" ; private Main cli ; private HttpClient client ; private TestCli . HttpUriRequestMatcher expectedRequest ; @ SuppressWarnings ( "static-access" ) @ Before public void setUp ( ) throws Exception { } @ SuppressWarnings ( { "static-access" , "unchecked" } ) @ Test public void commandGetToken ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandWithoutUrl ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandPostRequest ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandPostRequestWithDataUser ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandPostRequestWithoutRequirements ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandPostRequestDefaultValues ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandGetSpecificRequest ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandGetRequest ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandDeleteRequest ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandGetQuery ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandGetMember ( ) throws Exception { HttpUriRequest request = new org . apache . http . client . methods . HttpGet ( ( ( Main . DEFAULT_URL ) + "//members" ) ) ; request . addHeader ( CONTENT_TYPE , OCCI_CONTENT_TYPE ) ; <START_BUG> request . addHeader ( X_FEDERATION_AUTH_TOKEN , TestCli . ACCESS_TOKEN_ID ) ; <END_BUG> expectedRequest = new TestCli . HttpUriRequestMatcher ( request ) ; String command = ( "member<seq2seq4repair_space>--get" + "<seq2seq4repair_space>--federation-auth-token<seq2seq4repair_space>" ) + ( TestCli . ACCESS_TOKEN_ID ) ; cli . main ( createArgs ( command ) ) ; Mockito . verify ( client ) . execute ( Mockito . argThat ( expectedRequest ) ) ; } @ SuppressWarnings ( "static-access" ) @ Test public void commandCreateInstance ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandCreateInstanceWithUserData ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandGetInstance ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandGetSpecificInstance ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandDeleteInstance ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void testGetCredentialsInformation ( ) { } @ Test public void testGetLocationHeader ( ) { } @ Test public void testGenerateLocationHeaderResponse ( ) { } @ SuppressWarnings ( "static-access" ) @ Test public void TestNormalizeToken ( ) throws FileNotFoundException , IOException { } @ SuppressWarnings ( "static-access" ) @ Test public void commandGetMembersUsage ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandGetUsersUsage ( ) throws Exception { } @ SuppressWarnings ( "static-access" ) @ Test public void commandGetMembersAndUsersUsage ( ) throws Exception { } private String [ ] createArgs ( String command ) throws Exception { } private class HttpUriRequestMatcher extends ArgumentMatcher < HttpUriRequest > { private HttpUriRequest request ; public HttpUriRequestMatcher ( HttpUriRequest request ) { } public boolean matches ( Object object ) { } public boolean checkHeaders ( Header [ ] comparedHeaders ) { } } }

Fix:
request . addHeader ( X_AUTH_TOKEN , TestCli . ACCESS_TOKEN_ID ) ;