/**
 * Copyright (c) 2015 FeedHenry Ltd, All Rights Reserved.
 *
 * Please refer to your contract with FeedHenry for the software license agreement.
 * If you do not have a contract, you do not have a license to use this software.
 */
package com.feedhenry.sdk.tests.api;

import android.test.AndroidTestCase;
import com.feedhenry.sdk.AppProps;

public class AppPropsTest extends AndroidTestCase {

    public void testAppProps() throws Exception {
        AppProps appProps = AppProps.load(getContext());
        assertNotNull(appProps.getHost());
        assertEquals("http://localhost:9000", appProps.getHost());
        assertNull(appProps.getAppApiKey());
        assertNull(appProps.getAppId());
        assertNull(appProps.getProjectId());
        assertNull(appProps.getConnectionTag());
        assertTrue(appProps.isLocalDevelopment());

        assertNotNull(appProps.getPushServerUrl());
        assertEquals("http://localhost:9000/api/v2/ag-push", appProps.getPushServerUrl());

        assertNotNull(appProps.getPushSenderId());
        assertEquals("MY_SENDER_ID", appProps.getPushSenderId());

        assertNotNull(appProps.getPushSenderId());
        assertEquals("123456789", appProps.getPushVariant());

        assertNotNull(appProps.getPushSenderId());
        assertEquals("987654321", appProps.getPushSecret());
    }
}

@@ -1137,32 +1137,31 @@
 rops.getPush
-SenderId
+Variant
 ());%0A       
@@ -1248,38 +1248,36 @@
 pProps.getPushSe
-nderId
+cret
 ());%0A        ass

Fix AppPropsTest