def METHOD_NAME(self, testdata):
    """
    Read and Write files via obspy.core.Trace
    """
    data = np.array([111, 111, 111, 111, 111, 109, 106, 103, 103,
                     110, 121, 132, 139])
    with NamedTemporaryFile() as fh:
        testfile = fh.name
        self.file = testdata['3cssan.reg.8.1.RNON.wav']
        tr = read(self.file, format='WAV')[0]
        assert tr.stats.npts == 10599
        assert tr.stats['sampling_rate'] == 7000
        np.testing.assert_array_equal(tr.data[:13], data)
        # write
        st2 = Stream()
        st2.traces.append(Trace())
        st2[0].data = tr.data.copy()  # copy the data
        st2.write(testfile, format='WAV', framerate=7000)
        # read without giving the WAV format option
        tr3 = read(testfile)[0]
        assert tr3.stats == tr.stats
        np.testing.assert_array_equal(tr3.data[:13], data)