Skip to content

Calling methods on moq objects from within moq objects messes up the final return value #13

@saikat

Description

@saikat

Will make a test to reproduce this, but if I have a = moq([[A alloc] init]), and b = moq([[B alloc] init]) and in [a method] I call [b someOtherMethod], the return value of [a method] seems to be getting set to the return value of [b someOtherMethod]. Not sure if this is a bug in OJTest or with forwardInvocation in general.

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