Skip to content

AdminClient DescribeTopicsAsync is impossible to mock #2420

Open
@DainiusCerniauskasAngstrom

Description

Not sure who decided to make this an extension method rather than put it on the IAdminClient interface, but this makes it impossible to mock, along with the 2 other extension methods.
We cannot even re-write these locally because AdminClient type is internal.

This essentially means any code that uses this is impossible to unit test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions