def setUp(self): self.native_sink = NativeSink() self.native_write = _NativeWrite(self.native_sink)
def test_writer_method(self): native_sink = NativeSink() self.assertRaises(NotImplementedError, native_sink.writer)