Clean up unnecessary spy context statements

Remove spy context syntax because we do not need to
mock context anymore in the test cases.

Bug: 117644158
Test: robotests
Change-Id: I222eec4fbc1994d7bb79adead40b76ac0a000bdc
This commit is contained in:
Mill Chen
2018-10-12 21:39:04 +08:00
parent 5331355163
commit 2559f02d68
11 changed files with 11 additions and 23 deletions

View File

@@ -79,7 +79,7 @@ public class SliceBuilderUtilsTest {
@Before
public void setUp() {
mContext = spy(RuntimeEnvironment.application);
mContext = RuntimeEnvironment.application;
mFeatureFactory = FakeFeatureFactory.setupForTest();
mLoggingArgumentCatpor = ArgumentCaptor.forClass(Pair.class);