From 47cc9e59bb0bc95507c295d347cfae7c52f7e54b Mon Sep 17 00:00:00 2001 From: cyBerta Date: Mon, 21 Oct 2019 23:26:21 +0200 Subject: change gateway manager test - mocking method first --- app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src') diff --git a/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java b/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java index 792636c7..b37b3474 100644 --- a/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java +++ b/app/src/test/java/se/leap/bitmaskclient/eip/GatewaysManagerTest.java @@ -100,8 +100,8 @@ public class GatewaysManagerTest { @Test public void testGatewayManagerFromCurrentProvider_noProvider_noGateways() { - GatewaysManager gatewaysManager = new GatewaysManager(mockContext); MockHelper.mockProviderObserver(null); + GatewaysManager gatewaysManager = new GatewaysManager(mockContext); assertEquals(0, gatewaysManager.size()); } -- cgit v1.2.3