class SelectionSpecBuilder {

    public SelectionSpecBuilder enableCapture(String fileProviderAuthorities) {
        mFileProviderAuthorities = fileProviderAuthorities;
        return this;
    }

}

class SelectionSpecBuilderTest {

    private static final int MOCK_REQUEST_CODE;
    private SelectionSpecBuilder mBuilder;
    private CountDownLatch mLatch;

    @Test
    public void enableCapture() throws Exception {

        mBuilder = mBuilder.enableCapture("com.test.authorities");
        assertNotNull(mBuilder);

        mBuilder.forResult(MOCK_REQUEST_CODE);
        mLatch.await();
    }

}