    @Test
    public void testThatEnvironmentRuleIsSatisfiedIfAmazonAppStoreIsInstalledOnDevice() {

        // Arrange
        when(environment.isAmazonAppStoreInstalled()).thenReturn(true);

        // Act
        final boolean isEnvironmentRuleSatisfied = amazonAppStoreRule.shouldAllowFeedbackPrompt(environment);

        // Assert
        assertTrue("Environment based rule should be satisfied", isEnvironmentRuleSatisfied);
    }