Skip to content

Changes needed so ICommandHandler classes are testable #1634

Open
@dougclutter

Description

@dougclutter

I'm using Beta 2, so please excuse (ignore) me if this has already been addressed.

The ICommandHandler.InvokeAsync method takes an InvocationContext parameter. Unfortunately, I couldn't find a way to instantiate an InvocationContext in my unit tests, so I couldn't suss out how to test it...

Perhaps, this parameter could be changed to an interface?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions