public class AbstractAppInstallationServiceTest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private AppInstallationRepository |
appInstallationRepository |
private javax.inject.Provider<AppInstallationRepository> |
appInstallationRepositoryProvider |
private static java.lang.String |
BUSINESSUNIT |
private javax.inject.Provider<OfficialAppRepository> |
officialAppRepositoryProvider |
private static GUID |
SHOP_GUID |
private static java.lang.String |
SHOPTYPE |
private AbstractAppInstallationService |
SUT |
Constructor and Description |
---|
AbstractAppInstallationServiceTest() |
Modifier and Type | Method and Description |
---|---|
private OfficialApp |
createOfficialAppPrototype() |
void |
setUp() |
void |
should_return_install_app_url_if_app_is_not_installed() |
void |
should_return_install_app_url_if_app_is_pending() |
void |
should_return_one_installed_app() |
void |
should_return_open_app_url_for_affiliate() |
void |
should_return_open_app_url_for_theme() |
void |
should_return_uninstall_app_url_and_open_app_url_if_app_is_installed() |
void |
should_validate_app_installation_state() |
private static final GUID SHOP_GUID
private static final java.lang.String BUSINESSUNIT
private static final java.lang.String SHOPTYPE
private AbstractAppInstallationService SUT
@Mock private javax.inject.Provider<OfficialAppRepository> officialAppRepositoryProvider
@Mock private AppInstallationRepository appInstallationRepository
@Mock private javax.inject.Provider<AppInstallationRepository> appInstallationRepositoryProvider
public void setUp()
private OfficialApp createOfficialAppPrototype()
public void should_return_one_installed_app()
public void should_return_install_app_url_if_app_is_not_installed()
public void should_return_install_app_url_if_app_is_pending()
public void should_return_uninstall_app_url_and_open_app_url_if_app_is_installed()
public void should_return_open_app_url_for_theme()
public void should_return_open_app_url_for_affiliate()
public void should_validate_app_installation_state()