def test_filter_wrong_trait(): with pytest.raises(TypeError, match="Not all required methods are implemented"): Filter(Empty())
def test_acess_wrong_trait(): with pytest.raises(TypeError, match="Not all required methods are implemented"): access = Access(Empty())
def test_wrong_broadcaster(): with pytest.raises(TypeError, match="Not all required methods are implemented"): BroadcasterInterface(Empty())
def test_wrong_fee_estimator(): with pytest.raises(TypeError, match="Not all required methods are implemented"): FeeEstimator(Empty())
def test_socket_descriptor_empty(): with pytest.raises(TypeError, match="Not all required methods are implemented"): SocketDescriptor(Empty())
def test_persist_empty(): with pytest.raises(TypeError, match="Not all required methods are implemented"): Persist(Empty())
def test_wrong_logger(): with pytest.raises(TypeError, match="Not all required methods are implemented"): LDKLogger(Empty())