Skip to content

Unable to resolve primitive values for mocks #123

@hunter-horton

Description

@hunter-horton

I am running into an issue where I am unable to setup a mock using AutoMocker when the constructor takes in primitive values. For instance, if I want to setup a mock and it takes in a string in the constructor an exception is thrown. I would expect that default would be provided instead of trying to mock it.

That being said, I love the project and use it in all of my repos! Has definitely increased my productivity, with this edge case being the only thing that has caused me any issues. Thanks for all the hard work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions