@@ -0,0 +1,1517 @@
+package com.xtremelabs.robolectric.shadows;%0A%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0A%0Aimport com.xtremelabs.robolectric.Robolectric;%0Aimport com.xtremelabs.robolectric.WithTestDefaultsRunner;%0A%0Aimport android.media.AudioManager;%0A%0A@RunWith(WithTestDefaultsRunner.class)%0Apublic class AudioManagerTest %7B%0A%09%0A%09private AudioManager audioManager; %0A%09private ShadowAudioManager shadowAudioManager;%0A%0A%09@Before%0A%09public void setUp() throws Exception %7B%0A        Robolectric.bindDefaultShadowClasses();%0A     %0A        audioManager = Robolectric.newInstanceOf( AudioManager.class );%0A        shadowAudioManager = Robolectric.shadowOf( audioManager );%0A%09%7D%0A%0A%09@After%0A%09public void tearDown() throws Exception %7B%0A%09%7D%0A%09%0A    @Test%0A    public void shouldGetStreamMaxVolume() throws Exception %7B%0A    %09shadowAudioManager.setStreamMaxVolume( 45 );%0A    %09%0A    %09assertEquals( 45, audioManager.getStreamMaxVolume( AudioManager.STREAM_MUSIC ));%09%0A    %7D%0A    %0A    @Test%0A    public void shouldGetVolume() throws Exception %7B%0A    %09shadowAudioManager.setStreamVolume( 5 );%0A    %09%0A    %09assertEquals( 5, audioManager.getStreamVolume( AudioManager.STREAM_MUSIC ));%09%0A    %7D%0A    %0A    @Test%0A    public void shouldSetVolume() throws Exception %7B%0A    %09audioManager.setStreamVolume( AudioManager.STREAM_MUSIC, 8, 0 );%0A    %09%0A    %09assertEquals( 8, audioManager.getStreamVolume( AudioManager.STREAM_MUSIC ));%0A    %09assertEquals( 8, shadowAudioManager.getStreamVolume() );%0A    %7D%0A%0A%7D%0A

Remove streamType field for ShadowAudioManager, as it is not used. Add test case.