Searched refs:attributeMock (Results 1 – 3 of 3) sorted by relevance
83 AudioDeviceAttributes attributeMock = Mockito.mock(AudioDeviceAttributes.class); in build() local84 when(attributeMock.getAddress()).thenReturn(mAddress); in build()85 when(attributeMock.getType()).thenReturn(mType); in build()92 when(infoMock.getAudioDevice()).thenReturn(attributeMock); in build()
367 AudioDeviceAttributes attributeMock = Mockito.mock(AudioDeviceAttributes.class); in getMockDevice() local368 when(attributeMock.getAddress()).thenReturn(address); in getMockDevice()369 when(attributeMock.getType()).thenReturn(type); in getMockDevice()370 return attributeMock; in getMockDevice()
545 AudioDeviceAttributes attributeMock = mock(AudioDeviceAttributes.class); in getMockAudioDeviceAttribute() local546 when(attributeMock.getAddress()).thenReturn(TEST_ADDRESS); in getMockAudioDeviceAttribute()547 when(attributeMock.getType()).thenReturn(type); in getMockAudioDeviceAttribute()549 return attributeMock; in getMockAudioDeviceAttribute()