test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function moveToElement($toElement, $curl_opts = array()) { | |
$this->actions[] = '$this->session->moveto(array("element" => "' . $toElement->getID() . '"), ' . unwind_associated_array($curl_opts) . ');'; | |
return $this; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEST | |
public class DownloadStuffInteractorTest extends UnitTest { | |
private static final String ANY_URL = "http://www.wherever.com"; | |
private static final String ANY_FILE_NAME = "file.pdf"; | |
private static final EmailWithStuff EMAIL = new EmailWithStuff(ANY_URL, ANY_FILE_NAME); | |
@Mock | |
private StuffDownloader StuffDownloader; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Module | |
class ContactsModule { | |
@Provides | |
@ElementsIntoSet | |
@InitialPermission | |
fun provideInitialPermissions(): Set<InitialPermissionData> { | |
return if (ContactsFeatureStatus.isEnabled) { | |
setOf( | |
InitialPermissionData( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Module | |
class CallInterceptorPermissionsModule { | |
@Provides | |
@ElementsIntoSet | |
@InitialPermission | |
fun provideInitialPermissions( | |
shouldEnableInitialPermissions: ShouldEnableInitialPermissions | |
): Set<InitialPermissionData> = setOf( | |
InitialPermissionData( |