### Question:
AudioBuffer { public int getSamplingRate() { return mSamplingRate; } AudioBuffer(int samplingRate, int maxLengthSec); int getSamplingRate(); int append(short data[]); boolean isFull(); int getBufferLength(); void writeLittleEndianTo(OutputStream out); synchronized void writeTo(AudioTrack out);  }### Answer:
@Test public void testGetSamplingRate(){ final int samplingRate = 10; AudioBuffer buf = new AudioBuffer(samplingRate,1); assertEquals(samplingRate,buf.getSamplingRate()); }