File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
firebase-common/src/test/java/com/google/firebase/heartbeatinfo Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 28
28
import android .content .SharedPreferences ;
29
29
import androidx .test .core .app .ApplicationProvider ;
30
30
import androidx .test .ext .junit .runners .AndroidJUnit4 ;
31
+ import com .google .common .collect .ImmutableSet ;
31
32
import com .google .firebase .platforminfo .UserAgentPublisher ;
32
33
import java .io .ByteArrayOutputStream ;
33
34
import java .io .IOException ;
@@ -53,7 +54,7 @@ public class DefaultHeartBeatControllerTest {
53
54
private final HeartBeatInfoStorage storage = mock (HeartBeatInfoStorage .class );
54
55
private final UserAgentPublisher publisher = mock (UserAgentPublisher .class );
55
56
private final Context applicationContext = ApplicationProvider .getApplicationContext ();
56
- private final Set <HeartBeatConsumer > logSources = Set .of (new HeartBeatConsumer ());
57
+ private final Set <HeartBeatConsumer > logSources = ImmutableSet .of (new HeartBeatConsumer () {} );
57
58
private DefaultHeartBeatController heartBeatController ;
58
59
59
60
@ Before
You can’t perform that action at this time.
0 commit comments